summaryrefslogtreecommitdiffstats
path: root/certmanager/lib/ui/progressdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'certmanager/lib/ui/progressdialog.cpp')
-rw-r--r--certmanager/lib/ui/progressdialog.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/certmanager/lib/ui/progressdialog.cpp b/certmanager/lib/ui/progressdialog.cpp
index bb66aca17..1418bb65a 100644
--- a/certmanager/lib/ui/progressdialog.cpp
+++ b/certmanager/lib/ui/progressdialog.cpp
@@ -39,13 +39,13 @@
#include <kdebug.h>
#include <klocale.h>
-#include <qtimer.h>
+#include <tqtimer.h>
#include <assert.h>
-Kleo::ProgressDialog::ProgressDialog( Job * job, const QString & baseText,
- QWidget * creator, const char * name, WFlags f )
- : QProgressDialog( creator, name, false, f ), mBaseText( baseText )
+Kleo::ProgressDialog::ProgressDialog( Job * job, const TQString & baseText,
+ TQWidget * creator, const char * name, WFlags f )
+ : TQProgressDialog( creator, name, false, f ), mBaseText( baseText )
{
assert( job );
setBar( new ProgressBar( this, "replacement progressbar in Kleo::ProgressDialog" ) );
@@ -56,13 +56,13 @@ Kleo::ProgressDialog::ProgressDialog( Job * job, const QString & baseText,
setLabelText( baseText );
setProgress( 0, 0 ); // activate busy indicator
- connect( job, SIGNAL(progress(const QString&,int,int)),
- SLOT(slotProgress(const QString&,int,int)) );
- connect( job, SIGNAL(done()), SLOT(slotDone()) );
- connect( this, SIGNAL(canceled()),
- job, SLOT(slotCancel()) );
+ connect( job, TQT_SIGNAL(progress(const TQString&,int,int)),
+ TQT_SLOT(slotProgress(const TQString&,int,int)) );
+ connect( job, TQT_SIGNAL(done()), TQT_SLOT(slotDone()) );
+ connect( this, TQT_SIGNAL(canceled()),
+ job, TQT_SLOT(slotCancel()) );
- QTimer::singleShot( minimumDuration(), this, SLOT(forceShow()) );
+ TQTimer::singleShot( minimumDuration(), this, TQT_SLOT(forceShow()) );
}
Kleo::ProgressDialog::~ProgressDialog() {
@@ -71,11 +71,11 @@ Kleo::ProgressDialog::~ProgressDialog() {
void Kleo::ProgressDialog::setMinimumDuration( int ms ) {
if ( 0 < ms && ms < minimumDuration() )
- QTimer::singleShot( ms, this, SLOT(forceShow()) );
- QProgressDialog::setMinimumDuration( ms );
+ TQTimer::singleShot( ms, this, TQT_SLOT(forceShow()) );
+ TQProgressDialog::setMinimumDuration( ms );
}
-void Kleo::ProgressDialog::slotProgress( const QString & what, int current, int total ) {
+void Kleo::ProgressDialog::slotProgress( const TQString & what, int current, int total ) {
kdDebug(5150) << "Kleo::ProgressDialog::slotProgress( \"" << what << "\", "
<< current << ", " << total << " )" << endl;
if ( mBaseText.isEmpty() )