diff options
Diffstat (limited to 'kget/transfer.h')
-rw-r--r-- | kget/transfer.h | 26 |
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; }; |