diff options
author | Michele Calgaro <[email protected]> | 2023-12-27 19:25:43 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-12-27 19:25:43 +0900 |
commit | fb401a891f1b426e9419c0cb16403df407138611 (patch) | |
tree | 045b51949b3140039e37d898d8b0513016a86bea /examples/checklists/checklists.cpp | |
parent | a9d178f1000475ba1727ffe123a2c54585488c01 (diff) | |
download | tqt3-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/checklists/checklists.cpp')
-rw-r--r-- | examples/checklists/checklists.cpp | 12 |
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. |