[RFC] Use QFileSystemWatcher as another method for KDirWatch?

Christian Ehrlicher Ch.Ehrlicher at gmx.de
Wed Dec 5 19:24:27 GMT 2007


Christian Ehrlicher schrieb:
> Hi,
> 
> Using kdirwatch on windows is very cpu consuming (kded sometimes use 40% cpu on my duron 1300). Therefore I want to implement QFileSystemWatcher as an optional method. Is there a reason why this should not work? Should it be an optional or a hard dependency?
> 
Ok, here the patch.

I enabled it only for windows to not get in trouble with 4.0.0. There's
a bug (task-tracker id 170021) which prevents watching directories on a
fat32 partition. It's fixed in 4.4 but it would be nice when this patch
could be applied to qt-copy.



Christian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kdirwatch_qfsfileengine.patch
Type: text/x-diff
Size: 10050 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20071205/0c1f50d3/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 250 bytes
Desc: OpenPGP digital signature
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20071205/0c1f50d3/attachment.sig>


More information about the kde-core-devel mailing list