[PATCH] KIO::SlaveBase and the event loop

Sebastian TrĂ¼g strueg at mandriva.com
Mon Jul 14 17:27:26 BST 2008


Let me open with a question: Is there any technical problem with enabling 
event handling in KIO::SlaveBase?

The attached patch is not really pretty as it uses 
QCoreApplication::processEvents(). A proper implementation (which I would do 
once this issue is clarified) would be based on signal/slot communication.
But it works and allows to test the event handling.

As the event handling is disabled by default, nothing changes for existing kio 
slaves. But it allows my rebooted nepomuk search kio slave to update the 
folder contents when the database changes.

Cheers,
Sebastian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: slavebase-eventhandling.diff
Type: text/x-diff
Size: 2017 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20080714/b576e525/attachment.diff>


More information about the kde-core-devel mailing list