From fb401a891f1b426e9419c0cb16403df407138611 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 27 Dec 2023 19:25:43 +0900 Subject: Rename METHOD, SIGNAL, SLOT to TQ_METHOD, TQ_SIGNAL, TQ_SLOT Signed-off-by: Michele Calgaro --- examples/thread/prodcons/prodcons.cpp | 4 ++-- examples/thread/semaphores/main.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'examples/thread') 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); -- cgit v1.2.1