[PATCH] KIO::SlaveBase and the event loop

Thiago Macieira thiago at kde.org
Tue Jul 15 23:01:49 BST 2008


Sebastian Trüg wrote:
>my bad. Yes, it worked. The signals are delivered properly. thanks. Now
> I only have to solve on issue: apparently KIO does not want me to
> execute KJobs in my second thread.... maybe I need some local scheduler
> there, too, or something...

You can't use KIO from an ioslave or from a secondary thread. KIO itself 
uses QDBusConnection::sessionBus() to talk to klauncher.

There's such a thing as a ForwardingSlaveBase for operations like that.

-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20080715/accd68f2/attachment.sig>


More information about the kde-core-devel mailing list