51 #include <QtCore/QThread>
67 void MyObject::startWorkInAThread()
72 workerThread->
start();
104 workerThread.start();
void handleResults(const QString &)
void operate(const QString &)
The QObject class is the base class of all Qt objects.
void moveToThread(QThread *thread)
static QMetaObject::Connection connect(const QObject *sender, const char *signal, const QObject *receiver, const char *member, Qt::ConnectionType=Qt::AutoConnection)
The QString class provides a Unicode character string.
void start(Priority=InheritPriority)
void finished(QPrivateSignal)
void resultReady(const QString &result)
void doWork(const QString ¶meter)
void resultReady(const QString &s)