diff options
Diffstat (limited to 'kget/transfer.h')
-rw-r--r-- | kget/transfer.h | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/kget/transfer.h b/kget/transfer.h index d528a6a7..17e4aa08 100644 --- a/kget/transfer.h +++ b/kget/transfer.h @@ -53,14 +53,15 @@ class TransferList; class Transfer:public TQObject, public KListViewItem { Q_OBJECT + TQ_OBJECT public: - enum TransferMode { MD_QUEUED, MD_DELAYED, MD_SCHEDULED, MD_NONE, MD_NEW }; + enum TransferMode { MD_TQUEUED, MD_DELAYED, MD_SCHEDULED, MD_NONE, MD_NEW }; - enum TransferStatus { ST_TRYING, ST_RUNNING, ST_STOPPED, ST_FINISHED }; + enum TransfertqStatus { ST_TRYING, ST_RUNNING, ST_STOPPED, ST_FINISHED }; enum TransferOperation { OP_FINISHED, OP_RESUMED, OP_PAUSED, OP_REMOVED, OP_ABORTED, - OP_QUEUED, OP_SCHEDULED, OP_DELAYED, OP_CONNECTED + OP_TQUEUED, OP_SCHEDULED, OP_DELAYED, OP_CONNECTED }; @@ -113,7 +114,7 @@ public: { return speed; } - TransferStatus getStatus()const + TransfertqStatus gettqStatus()const { return status; } @@ -126,7 +127,7 @@ public: { mode = _mode; } - void setStatus(TransferStatus _status) + void settqStatus(TransfertqStatus _status) { status = _status; }; @@ -138,7 +139,7 @@ public: // update methods void updateAll(); - bool updateStatus(int counter); + bool updatetqStatus(int counter); void showIndividual(); void UpdateRetry(); @@ -219,10 +220,10 @@ private: unsigned int remainingTimeSec; TQString remainingTime; - TransferStatus status; + TransfertqStatus status; TransferMode mode; - TransferStatus prevStatus; + TransfertqStatus prevtqStatus; TransferMode prevMode; // how many times have we retried already |