diff options
Diffstat (limited to 'tutorial/t15')
-rw-r--r-- | tutorial/t15/main.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tutorial/t15/main.cpp b/tutorial/t15/main.cpp index a5381e607..9277ce17d 100644 --- a/tutorial/t15/main.cpp +++ b/tutorial/t15/main.cpp @@ -57,11 +57,11 @@ void MainObject::buttonClicked() eventLoop->exit(0); } -#define SET_UP_WORKER(x, y, z) \ - WorkerObject x; \ - x.threadFriendlyName = y; \ - x.moveToThread(&z); \ - TQObject::connect(&x, SIGNAL(displayMessage(TQString,TQString)), &mainobject, SLOT(emitMessage(TQString,TQString))); \ +#define SET_UP_WORKER(x, y, z) \ + WorkerObject x; \ + x.threadFriendlyName = y; \ + x.moveToThread(&z); \ + TQObject::connect(&x, SIGNAL(displayMessage(TQString,TQString)), &mainobject, SLOT(emitMessage(TQString,TQString))); \ TQTimer::singleShot(0, &x, SLOT(run())); int main( int argc, char **argv ) |