[Interest] post event between threads
Lincoln Ramsay
lincoln.ramsay at nokia.com
Wed Apr 4 02:38:13 CEST 2012
On 04/03/2012 07:29 PM, ext Riccardo Roasio wrote:
> And so what i can do?
Read those docs.
In essence, you want something like this:
QThread *thread = new QThread;
MyObject *object = new MyObject;
object->moveToThread(thread);
thread->start();
connect(something, SIGNAL(blah()), object, SLOT(foo()));
--
Lincoln Ramsay - Senior Software Engineer
Qt Development Frameworks, Nokia - http://qt.nokia.com/
More information about the Interest
mailing list