Unconsistent KDirNotify API

Sébastien Laoût [temporar] les83plus at free.fr
Tue Sep 28 20:31:27 BST 2004


Have anyone else noticed it:

virtual ASYNC KDirNotify::FilesAdded (const KURL &directory)=0
virtual ASYNC KDirNotify::FilesRemoved (const KURL::List &fileList)=0
virtual ASYNC KDirNotify::FilesChanged (const KURL::List &fileList)=0
virtual ASYNC KDirNotify::FileRenamed (const KURL &src, const KURL &dst)

Every methods take a file or fileList parameter.
But FilesAdded (hum, why is there a upper 'F'? It's a method) take a
*directory*.

No way to know which file(s) has been added.

Is it intentional, for technical reasons, or is it intended to work only
in Konqueror?






More information about the kde-core-devel mailing list