summaryrefslogtreecommitdiffstats
path: root/examples/checklists/checklists.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/checklists/checklists.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/checklists/checklists.cpp')
-rw-r--r--examples/checklists/checklists.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/examples/checklists/checklists.cpp b/examples/checklists/checklists.cpp
index 08b11fc30..a75043ed4 100644
--- a/examples/checklists/checklists.cpp
+++ b/examples/checklists/checklists.cpp
@@ -69,8 +69,8 @@ CheckLists::CheckLists( TQWidget *parent, const char *name )
TQPushButton *copy1 = new TQPushButton( " -> ", this );
tmp->addWidget( copy1 );
copy1->setMaximumWidth( copy1->sizeHint().width() );
- // connect the SIGNAL clicked() of the pushbutton with the SLOT copy1to2()
- connect( copy1, SIGNAL( clicked() ), this, SLOT( copy1to2() ) );
+ // connect the TQ_SIGNAL clicked() of the pushbutton with the TQ_SLOT copy1to2()
+ connect( copy1, TQ_SIGNAL( clicked() ), this, TQ_SLOT( copy1to2() ) );
// another widget for layouting
TQVBoxLayout *vbox2 = new TQVBoxLayout( lay );
@@ -93,8 +93,8 @@ CheckLists::CheckLists( TQWidget *parent, const char *name )
TQPushButton *copy2 = new TQPushButton( " -> ", this );
lay->addWidget( copy2 );
copy2->setMaximumWidth( copy2->sizeHint().width() );
- // ...and connect its clicked() SIGNAL to the copy2to3() SLOT
- connect( copy2, SIGNAL( clicked() ), this, SLOT( copy2to3() ) );
+ // ...and connect its clicked() TQ_SIGNAL to the copy2to3() TQ_SLOT
+ connect( copy2, TQ_SIGNAL( clicked() ), this, TQ_SLOT( copy2to3() ) );
tmp = new TQVBoxLayout( lay );
tmp->setMargin( 5 );
@@ -105,7 +105,7 @@ CheckLists::CheckLists( TQWidget *parent, const char *name )
}
/*
- * SLOT copy1to2()
+ * TQ_SLOT copy1to2()
*
* Copies all checked ListViewItems from the first ListView to
* the second one, and inserts them as Radio-ListViewItem.
@@ -137,7 +137,7 @@ void CheckLists::copy1to2()
}
/*
- * SLOT copy2to3()
+ * TQ_SLOT copy2to3()
*
* Copies the checked item of the second ListView into the
* Label at the right.