[Kde-bindings] help with cross thread call

Arno Rehn arno at arnorehn.de
Tue Dec 8 15:23:56 UTC 2009


On Tuesday 08 December 2009 13:48:15 Armando B. wrote:
> Hi Richard,
> i solved QListView problem using QTreeView, now work very fine, now i
> writed a scanning wait qdialog
> to use while scan thread work.
> But from scan thread i need to update a label on scanning wait qdialog
> that stay on main thread, so
> i don't fine samples online of cross thread about qyoto,
> 
> Could you give me some sample or some url to learn how do ?
> 
> with winforms there is Invoke method that autogenerate a delegate on
> gui thread to update gui,
> i saw some C sample for Qt but i don't understand.
We added a QCoreApplication.Invoke method with which you can invoke code in 
the main thread.

-- 
Arno Rehn
arno at arnorehn.de



More information about the Kde-bindings mailing list