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/progressbar/progressbar.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'examples/progressbar/progressbar.cpp') 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) */ -- cgit v1.2.3