diff options
Diffstat (limited to 'src/dialogs/qprogressdialog.cpp')
-rw-r--r-- | src/dialogs/qprogressdialog.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
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() ); |