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-27 19:25:43 +0900
commitfb401a891f1b426e9419c0cb16403df407138611 (patch)
tree045b51949b3140039e37d898d8b0513016a86bea /examples/thread
parenta9d178f1000475ba1727ffe123a2c54585488c01 (diff)
downloadtqt3-fb401a891f1b426e9419c0cb16403df407138611.tar.gz
tqt3-fb401a891f1b426e9419c0cb16403df407138611.zip
Rename METHOD, SIGNAL, SLOT to TQ_METHOD, TQ_SIGNAL, TQ_SLOT
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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);