From kde-core-devel Tue Jul 15 22:01:49 2008 From: Thiago Macieira Date: Tue, 15 Jul 2008 22:01:49 +0000 To: kde-core-devel Subject: Re: [PATCH] KIO::SlaveBase and the event loop Message-Id: <200807151901.49749.thiago () kde ! org> X-MARC-Message: https://marc.info/?l=kde-core-devel&m=121615938227950 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--nextPart1256254.Z9OFlZaZuT" --nextPart1256254.Z9OFlZaZuT Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Sebastian Tr=FCg 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=20 uses QDBusConnection::sessionBus() to talk to klauncher. There's such a thing as a ForwardingSlaveBase for operations like that. =2D-=20 =A0 Thiago Macieira =A0- =A0thiago (AT) macieira.info - thiago (AT) kde.org =A0 =A0 PGP/GPG: 0x6EF45358; fingerprint: =A0 =A0 E067 918B B660 DBD1 105C =A0966C 33F5 F005 6EF4 5358 --nextPart1256254.Z9OFlZaZuT Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iD8DBQBIfR5NM/XwBW70U1gRAiTmAKCgFcSyLMXAmf1EUKv4rAReuhlpvQCZARqX T17IkxGs5VtHTkTp0s2TnRg= =LHA6 -----END PGP SIGNATURE----- --nextPart1256254.Z9OFlZaZuT--