summaryrefslogtreecommitdiffstats
path: root/kget/transfer.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
commit47c8a359c5276062c4bc17f0e82410f29081b502 (patch)
tree2d54a5f60a5b74067632f9ef6df58c2bc38155e6 /kget/transfer.h
parent6f82532777a35e0e60bbd2b290b2e93e646f349b (diff)
downloadtdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.tar.gz
tdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1157648 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kget/transfer.h')
-rw-r--r--kget/transfer.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/kget/transfer.h b/kget/transfer.h
index 845995d8..0dacd315 100644
--- a/kget/transfer.h
+++ b/kget/transfer.h
@@ -29,9 +29,9 @@
#define _Transfer_h
#include <klistview.h>
-#include <qdatetime.h>
-#include <qguardedptr.h>
-#include <qmap.h>
+#include <tqdatetime.h>
+#include <tqguardedptr.h>
+#include <tqmap.h>
#include <kurl.h>
#include <kio/jobclasses.h>
@@ -50,7 +50,7 @@ class DlgIndividual;
class TransferList;
-class Transfer:public QObject, public KListViewItem
+class Transfer:public TQObject, public KListViewItem
{
Q_OBJECT
public:
@@ -73,12 +73,12 @@ public:
bool read(KSimpleConfig * config, int id);
void write(KSimpleConfig * config, int id);
- void logMessage(const QString & message);
+ void logMessage(const TQString & message);
bool keepDialogOpen() const;
- QDateTime getStartTime()const
+ TQDateTime getStartTime()const
{
return startTime;
}
@@ -130,7 +130,7 @@ public:
{
status = _status;
};
- void setStartTime(QDateTime _startTime)
+ void setStartTime(TQDateTime _startTime)
{
startTime = _startTime;
};
@@ -185,12 +185,12 @@ public slots:
void slotTotalSize(KIO::filesize_t bytes);
void slotProcessedSize(KIO::filesize_t);
- void slotStartTime(const QDateTime &);
+ void slotStartTime(const TQDateTime &);
void slotStop(); // stop all transfers when going offline
signals:
void statusChanged(Transfer *, int _operation);
- void log(uint, const QString &, const QString &);
+ void log(uint, const TQString &, const TQString &);
private:
void init(const uint _id);
@@ -206,10 +206,10 @@ private:
static uint idcount;
// log
- QString transferLog;
+ TQString transferLog;
// schedule time
- QDateTime startTime;
+ TQDateTime startTime;
KIO::filesize_t totalSize;
KIO::filesize_t processedSize;
@@ -217,7 +217,7 @@ private:
int speed;
unsigned int remainingTimeSec;
- QString remainingTime;
+ TQString remainingTime;
TransferStatus status;
TransferMode mode;
@@ -233,7 +233,7 @@ private:
TransferList *view;
// individual download window
- QGuardedPtr<DlgIndividual> dlgIndividual;
+ TQGuardedPtr<DlgIndividual> dlgIndividual;
};