diff options
Diffstat (limited to 'examples/thread')
-rw-r--r-- | examples/thread/prodcons/prodcons.cpp | 4 | ||||
-rw-r--r-- | examples/thread/semaphores/main.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/examples/thread/prodcons/prodcons.cpp b/examples/thread/prodcons/prodcons.cpp index 7f182f850..23004dfd6 100644 --- a/examples/thread/prodcons/prodcons.cpp +++ b/examples/thread/prodcons/prodcons.cpp @@ -254,10 +254,10 @@ ProdCons::ProdCons() prod(0), cons(0), stopped(FALSE), redraw(TRUE) { startbutton = new TQPushButton("&Start", this); - connect(startbutton, SIGNAL(clicked()), SLOT(go())); + connect(startbutton, TQ_SIGNAL(clicked()), TQ_SLOT(go())); stopbutton = new TQPushButton("S&top", this); - connect(stopbutton, SIGNAL(clicked()), SLOT(stop())); + connect(stopbutton, TQ_SIGNAL(clicked()), TQ_SLOT(stop())); stopbutton->setEnabled(FALSE); loopcheckbox = new TQCheckBox("Loop", this); diff --git a/examples/thread/semaphores/main.cpp b/examples/thread/semaphores/main.cpp index 85dec7171..913b75dc0 100644 --- a/examples/thread/semaphores/main.cpp +++ b/examples/thread/semaphores/main.cpp @@ -173,7 +173,7 @@ SemaphoreExample::SemaphoreExample() greenSem = new TQSemaphore(1); button = new TQPushButton("&Ignition!", this); - connect(button, SIGNAL(clicked()), SLOT(startExample())); + connect(button, TQ_SIGNAL(clicked()), TQ_SLOT(startExample())); mlineedit = new TQMultiLineEdit(this); label = new TQLabel(this); |