summaryrefslogtreecommitdiffstats
path: root/examples/drawdemo/drawdemo.cpp
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/drawdemo/drawdemo.cpp
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/drawdemo/drawdemo.cpp')
-rw-r--r--examples/drawdemo/drawdemo.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/drawdemo/drawdemo.cpp b/examples/drawdemo/drawdemo.cpp
index 4d5ab2016..5fc1e0f7b 100644
--- a/examples/drawdemo/drawdemo.cpp
+++ b/examples/drawdemo/drawdemo.cpp
@@ -162,7 +162,7 @@ DrawView::DrawView()
// Create a button group to contain all buttons
bgroup = new TQButtonGroup( this );
bgroup->resize( 200, 200 );
- connect( bgroup, SIGNAL(clicked(int)), SLOT(updateIt(int)) );
+ connect( bgroup, TQ_SIGNAL(clicked(int)), TQ_SLOT(updateIt(int)) );
// Calculate the size for the radio buttons
int maxwidth = 80;
@@ -219,7 +219,7 @@ DrawView::DrawView()
print = new TQPushButton( "Print...", bgroup );
print->resize( 80, 30 );
print->move( maxwidth/2 - print->width()/2, maxindex*30+20 );
- connect( print, SIGNAL(clicked()), SLOT(printIt()) );
+ connect( print, TQ_SIGNAL(clicked()), TQ_SLOT(printIt()) );
// Resize bgroup to its final size when printersupport is given.
bgroup->resize( maxwidth, print->y()+print->height()+10 );