Needing a QEventLoop for a kioslave

Friedrich W. H. Kossebau kossebau at kde.org
Mon Feb 9 16:15:36 GMT 2009


Hi,

am I correct that KIO::SlaveBase does not use a QEventLoop in dispatchLoop()?

What shall I do if the 3-party code I use as backend to generate/pull the data 
for the ioslave depends on a running event loop? E.g. if using a QTimer IIUC?
Could there be an option for the dispatchLoop() to also care for QEvents? Or 
can I use a thread? Is there any example code I could look at?

Does QDBus stuff get triggered by socket/pipe system events, or does it also 
depend on an event loop?

Cheers
Friedrich
-- 
Okteta - KDE 4 Hex Editor - http://utils.kde.org/projects/okteta




More information about the kde-core-devel mailing list