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 --- src/dialogs/qprogressdialog.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/dialogs/qprogressdialog.cpp') diff --git a/src/dialogs/qprogressdialog.cpp b/src/dialogs/qprogressdialog.cpp index f7d1e1c5a..6e18f2d7f 100644 --- a/src/dialogs/qprogressdialog.cpp +++ b/src/dialogs/qprogressdialog.cpp @@ -167,9 +167,9 @@ Operation::Operation( TQObject *parent = 0 ) : TQObject( parent ), steps( 0 ) { pd = new TQProgressDialog( "Operation in progress.", "Cancel", 100 ); - connect( pd, SIGNAL(canceled()), this, SLOT(cancel()) ); + connect( pd, TQ_SIGNAL(canceled()), this, TQ_SLOT(cancel()) ); t = new TQTimer( this ); - connect( t, SIGNAL(timeout()), this, SLOT(perform()) ); + connect( t, TQ_SIGNAL(timeout()), this, TQ_SLOT(perform()) ); t->start( 0 ); } @@ -314,10 +314,10 @@ void TQProgressDialog::init( TQWidget *creator, d->autoReset = TRUE; d->forceHide = FALSE; setCancelButtonText( canc ); - connect( this, SIGNAL(canceled()), this, SIGNAL(cancelled()) ); - connect( this, SIGNAL(canceled()), this, SLOT(cancel()) ); + connect( this, TQ_SIGNAL(canceled()), this, TQ_SIGNAL(cancelled()) ); + connect( this, TQ_SIGNAL(canceled()), this, TQ_SLOT(cancel()) ); forceTimer = new TQTimer( this ); - connect( forceTimer, SIGNAL(timeout()), this, SLOT(forceShow()) ); + connect( forceTimer, TQ_SIGNAL(timeout()), this, TQ_SLOT(forceShow()) ); layout(); } @@ -410,11 +410,11 @@ void TQProgressDialog::setCancelButton( TQPushButton *cancelButton ) } else { cancelButton->reparent( this, 0, TQPoint(0,0), FALSE ); } - connect( d->cancel, SIGNAL(clicked()), this, SIGNAL(canceled()) ); + connect( d->cancel, TQ_SIGNAL(clicked()), this, TQ_SIGNAL(canceled()) ); #ifndef TQT_NO_ACCEL TQAccel *accel = new TQAccel( this ); accel->connectItem( accel->insertItem(Key_Escape), - d->cancel, SIGNAL(clicked()) ); + d->cancel, TQ_SIGNAL(clicked()) ); #endif } int w = TQMAX( isVisible() ? width() : 0, sizeHint().width() ); -- cgit v1.2.1