summaryrefslogtreecommitdiffstats
path: root/examples/thread/prodcons/prodcons.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-12-27 19:25:43 +0900
committerMichele Calgaro <[email protected]>2023-12-27 19:25:43 +0900
commitfb401a891f1b426e9419c0cb16403df407138611 (patch)
tree045b51949b3140039e37d898d8b0513016a86bea /examples/thread/prodcons/prodcons.cpp
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 <[email protected]>
Diffstat (limited to 'examples/thread/prodcons/prodcons.cpp')
-rw-r--r--examples/thread/prodcons/prodcons.cpp4
1 files changed, 2 insertions, 2 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);