summaryrefslogtreecommitdiffstats
path: root/kget/transfer.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:33:51 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:33:51 -0600
commit089118c18533dfa3e6ce5065dbebdd4db94051f1 (patch)
treece014fb2326a80fcfafa2362b7ff88486aa17c96 /kget/transfer.h
parent83677e35509b4dafac63b76995652bdf3b49f209 (diff)
downloadtdenetwork-089118c18533dfa3e6ce5065dbebdd4db94051f1.tar.gz
tdenetwork-089118c18533dfa3e6ce5065dbebdd4db94051f1.zip
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'kget/transfer.h')
-rw-r--r--kget/transfer.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/kget/transfer.h b/kget/transfer.h
index 17e4aa08..c21938eb 100644
--- a/kget/transfer.h
+++ b/kget/transfer.h
@@ -57,7 +57,7 @@ class Transfer:public TQObject, public KListViewItem
public:
enum TransferMode { MD_TQUEUED, MD_DELAYED, MD_SCHEDULED, MD_NONE, MD_NEW };
- enum TransfertqStatus { ST_TRYING, ST_RUNNING, ST_STOPPED, ST_FINISHED };
+ enum TransferStatus { ST_TRYING, ST_RUNNING, ST_STOPPED, ST_FINISHED };
enum TransferOperation {
OP_FINISHED, OP_RESUMED, OP_PAUSED, OP_REMOVED, OP_ABORTED,
@@ -114,7 +114,7 @@ public:
{
return speed;
}
- TransfertqStatus gettqStatus()const
+ TransferStatus getStatus()const
{
return status;
}
@@ -127,7 +127,7 @@ public:
{
mode = _mode;
}
- void settqStatus(TransfertqStatus _status)
+ void setStatus(TransferStatus _status)
{
status = _status;
};
@@ -139,7 +139,7 @@ public:
// update methods
void updateAll();
- bool updatetqStatus(int counter);
+ bool updateStatus(int counter);
void showIndividual();
void UpdateRetry();
@@ -220,10 +220,10 @@ private:
unsigned int remainingTimeSec;
TQString remainingTime;
- TransfertqStatus status;
+ TransferStatus status;
TransferMode mode;
- TransfertqStatus prevtqStatus;
+ TransferStatus prevStatus;
TransferMode prevMode;
// how many times have we retried already