KIO-powered runner?
Aaron J. Seigo
aseigo at kde.org
Sat Feb 25 07:48:13 UTC 2012
On Friday, February 24, 2012 23:36:24 Shaun Reich wrote:
> does there currently exist a way to "make" it threadsafe in some way?
> what's the solution for this?
without fully understanding what you are trying to do, here's what i might do:
create an object in the constructor of the runner that will do the KIO. this
object will therefore live in the main thread of the application. connect a
slot in this object to a signal from the runner (qt will queue the signals
from the different threads) and in that slot do the kio. bingo -> async and in
the main gui thread.
--
Aaron J. Seigo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20120225/a3538f44/attachment.sig>
More information about the Plasma-devel
mailing list