summaryrefslogtreecommitdiffstats
path: root/examples/thread
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-27 19:25:43 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-31 22:16:03 +0900
commitecca365daf06c711cf30f93f4c773dabf5642790 (patch)
tree0b2f6780f60fd7eb35c84cc899e7d51db189d67d /examples/thread
parent1c30858477bcf3a4c74866d9a3d26f57753dd36a (diff)
downloadtqt-ecca365daf06c711cf30f93f4c773dabf5642790.tar.gz
tqt-ecca365daf06c711cf30f93f4c773dabf5642790.zip
Rename METHOD, SIGNAL, SLOT to TQ_METHOD, TQ_SIGNAL, TQ_SLOT
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit fb401a891f1b426e9419c0cb16403df407138611)
Diffstat (limited to 'examples/thread')
-rw-r--r--examples/thread/prodcons/prodcons.cpp4
-rw-r--r--examples/thread/semaphores/main.cpp2
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);