> A example looks like:
> Timer to ping the server on regular basis:
> - QTimer::timeout connected to slot sendPing();
> - when the pong is received, the signal void pongReceived is emitted, this
> can be evaluated by the application.
>
> But as said, there are methods in the worker, I need return data
> immediately, e.g. getKnownServers, isConnected etc.
> Your answer helped me already a lot. Thank you very much. So I'll go for
> this approach.

You've chosen the right option of moveToThread() then.

Good luck,
-mandeep
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to