what is the best way to synchronize QJobs?

If a function launches a QJob, is there a way for the function to wait for the
job's completion before returning?

I have tried with a loop checking a variable that is set by the slot connected
to the completion signal of the Job, but it does not work.



>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<