Home · All Classes · alphabetical Classes List · Modules · Functions ·

QxtEventThread< T > Class Template Reference
[Kit]

run a single QObject in a different thread More...

Public Member Functions

Data Fields


Detailed Description

template<typename T>
class QxtEventThread< T >

run a single QObject in a different thread

This provides you with a solution to make a QObject run in a different thread.
When you connect to a slot of that Object using QxtEventThread::connect this slot will be executed in the Objects thread.


usage:

QxtEventThread<MyObject> eventthread;
eventthread.connect(timer,SIGNAL(timout()),SLOT(myslot()));


(c) 2007A.Picciani and A.Higerd LGPL
libqxt 0.2