summaryrefslogtreecommitdiffstats
path: root/libk9copy/k9backupdlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libk9copy/k9backupdlg.cpp')
-rw-r--r--libk9copy/k9backupdlg.cpp42
1 files changed, 21 insertions, 21 deletions
diff --git a/libk9copy/k9backupdlg.cpp b/libk9copy/k9backupdlg.cpp
index 8c101d8..e71033d 100644
--- a/libk9copy/k9backupdlg.cpp
+++ b/libk9copy/k9backupdlg.cpp
@@ -20,27 +20,27 @@
#include "k9backupdlg.h"
#include "ac.h"
-#include <qtimer.h>
-#include <qdatetime.h>
-#include <qapplication.h>
-#include <qprogressbar.h>
-#include <qlabel.h>
+#include <tqtimer.h>
+#include <tqdatetime.h>
+#include <tqapplication.h>
+#include <tqprogressbar.h>
+#include <tqlabel.h>
#include <kiconloader.h>
#include <kpushbutton.h>
#include <kstdguiitem.h>
#include <kguiitem.h>
-#include <qlabel.h>
-#include <qpainter.h>
-#include <qlayout.h>
+#include <tqlabel.h>
+#include <tqpainter.h>
+#include <tqlayout.h>
#include "k9drawimage.h"
-k9BackupDlg::k9BackupDlg(QWidget* parent, const char* name, bool modal, WFlags fl)
- : backupDlg(parent,name, modal,fl) {
+k9BackupDlg::k9BackupDlg(TQWidget* tqparent, const char* name, bool modal, WFlags fl)
+ : backupDlg(tqparent,name, modal,fl) {
Abort=false;
- timer = new QTimer( this );
- time = new QTime(0,0);
+ timer = new TQTimer( this );
+ time = new TQTime(0,0);
time->start();
- connect( timer, SIGNAL(timeout()), this, SLOT(timerDone()) );
+ connect( timer, TQT_SIGNAL(timeout()), this, TQT_SLOT(timerDone()) );
timer->start(500, 0 );
bAbort->setIconSet(KStdGuiItem::cancel().iconSet());
bPlay->setIconSet(SmallIcon("player_play"));
@@ -50,18 +50,18 @@ k9BackupDlg::k9BackupDlg(QWidget* parent, const char* name, bool modal, WFlags f
m_totalSteps=0;
m_factor="";
m_progress=0;
- connect(&m_decoder, SIGNAL(pixmapReady(QImage *)), this, SLOT(drawPixmap(QImage *)));
+ connect(&m_decoder, TQT_SIGNAL(pixmapReady(TQImage *)), this, TQT_SLOT(drawPixmap(TQImage *)));
m_stop=false;
m_playmovie=true;
m_cpt=0;
m_wimage=new k9DrawImage(image,0);
- QGridLayout *l=new QGridLayout(image,1,1);
+ TQGridLayout *l=new TQGridLayout(image,1,1);
l->addWidget(m_wimage,0,0);
m_data=NULL;
m_dataSize=0;
}
-void k9BackupDlg::drawPixmap(QImage *_image) {
+void k9BackupDlg::drawPixmap(TQImage *_image) {
m_count++;
if (m_count ==4) {
@@ -125,11 +125,11 @@ void k9BackupDlg::timerDone() {
m_cpt=0;
m_playmovie=bPlay->isOn();
}
- QTime time2(0,0);
+ TQTime time2(0,0);
time2=time2.addMSecs(time->elapsed());
- QString remain("--:--:--");
+ TQString remain("--:--:--");
if (m_progressTotal>0) {
- QTime time3(0,0);
+ TQTime time3(0,0);
time3=time3.addMSecs((time->elapsed()/m_progressTotal)*pbTotal->totalSteps());
remain=time3.toString("hh:mm:ss");
}
@@ -158,7 +158,7 @@ void k9BackupDlg::setProgressTotal(uint32_t _position) {
}
-void k9BackupDlg::setProgressLabel(QString _text) {
+void k9BackupDlg::setProgressLabel(TQString _text) {
m_progressLabel=_text;
update();
}
@@ -173,7 +173,7 @@ void k9BackupDlg::bAbortClick() {
}
-void k9BackupDlg::setFactor(QString _factor) {
+void k9BackupDlg::setFactor(TQString _factor) {
m_factor=_factor;
}
/*$SPECIALIZATION$*/