[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: [PATCH] KIO::SlaveBase and the event loop
From:       Thiago Macieira <thiago () kde ! org>
Date:       2008-07-15 22:01:49
Message-ID: 200807151901.49749.thiago () kde ! org
[Download RAW message or body]


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

["signature.asc" (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic