KDirWatch emitting dirty signal many times for one change

David Faure faure at kde.org
Wed Apr 14 11:06:21 BST 2004


On Wednesday 14 April 2004 11:57, Josef Weidendorfer wrote:
> On Tuesday 13 April 2004 22:30, Sébastien Laoût wrote:
> > > Currently, KDirWatch can not notify you about file renaming because it
> > > simply has no signal to notify renamings. Perhaps it's the best to add
> > > rename notification to KDirWatch, especially since DNOTIFY and FAM indeed
> > > seem to support it (for KDE 3.3, we could add a method returning a
> > > RenameNotifier helper object that can emit this signal).
> >
> > OK.
> > Would be fine.
> > Seem quite complicated (why do not simple emit a fileRenamed() instead
> > of create new objects and... thinks I don't understand).
> 
> Binary compatibility: Adding virtual methods (like signals) to library classes 
> is not allowed in KDE 3.x...

A signal is not a virtual method!!
You can add signals just fine.

> > > For meta information, you should use extended file attributes instead
> > > (KDE has already an interface for this (?)).
Not that I know of.

-- 
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).




More information about the kde-core-devel mailing list