summaryrefslogtreecommitdiffstats
path: root/src/dialogs/qprogressdialog.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-27 19:25:43 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-27 19:25:43 +0900
commitfb401a891f1b426e9419c0cb16403df407138611 (patch)
tree045b51949b3140039e37d898d8b0513016a86bea /src/dialogs/qprogressdialog.cpp
parenta9d178f1000475ba1727ffe123a2c54585488c01 (diff)
downloadtqt3-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 'src/dialogs/qprogressdialog.cpp')
-rw-r--r--src/dialogs/qprogressdialog.cpp14
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() );