summaryrefslogtreecommitdiffstats
path: root/certmanager/lib/ui/progressdialog.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /certmanager/lib/ui/progressdialog.cpp
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz
tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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() )