diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-27 19:25:43 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-27 19:25:43 +0900 |
commit | fb401a891f1b426e9419c0cb16403df407138611 (patch) | |
tree | 045b51949b3140039e37d898d8b0513016a86bea /examples/progressbar | |
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 <michele.calgaro@yahoo.it>
Diffstat (limited to 'examples/progressbar')
-rw-r--r-- | examples/progressbar/progressbar.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/examples/progressbar/progressbar.cpp b/examples/progressbar/progressbar.cpp index 47fc24903..dfe2d70a7 100644 --- a/examples/progressbar/progressbar.cpp +++ b/examples/progressbar/progressbar.cpp @@ -57,11 +57,11 @@ ProgressBar::ProgressBar( TQWidget *parent, const char *name ) toplayout->addMultiCellWidget( progress, 1, 1, 0, 1 ); // connect the clicked() SIGNALs of the pushbuttons to SLOTs - connect( start, SIGNAL( clicked() ), this, SLOT( slotStart() ) ); - connect( reset, SIGNAL( clicked() ), this, SLOT( slotReset() ) ); + connect( start, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotStart() ) ); + connect( reset, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotReset() ) ); - // connect the timeout() SIGNAL of the progress-timer to a SLOT - connect( &timer, SIGNAL( timeout() ), this, SLOT( slotTimeout() ) ); + // connect the timeout() TQ_SIGNAL of the progress-timer to a TQ_SLOT + connect( &timer, TQ_SIGNAL( timeout() ), this, TQ_SLOT( slotTimeout() ) ); // Let's start with normal speed... normal->setChecked( TRUE ); @@ -73,9 +73,9 @@ ProgressBar::ProgressBar( TQWidget *parent, const char *name ) } /* - * SLOT slotStart + * TQ_SLOT slotStart * - * This SLOT is called if the user clicks start/pause/continue + * This TQ_SLOT is called if the user clicks start/pause/continue * button */ @@ -113,9 +113,9 @@ void ProgressBar::slotStart() } /* - * SLOT slotReset + * TQ_SLOT slotReset * - * This SLOT is called when the user clicks the reset button + * This TQ_SLOT is called when the user clicks the reset button */ void ProgressBar::slotReset() @@ -138,9 +138,9 @@ void ProgressBar::slotReset() } /* - * SLOT slotTimeout + * TQ_SLOT slotTimeout * - * This SLOT is called each ms when the timer is + * This TQ_SLOT is called each ms when the timer is * active (== progress is running) */ |