summaryrefslogtreecommitdiffstats
path: root/kget/transfer.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:49:40 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:49:40 -0600
commit808e453c56036211f57482ed847d54aca01bba68 (patch)
tree75515d5768dea10d4fbe4cd772e0a89c1c4b3aa9 /kget/transfer.h
parentcd9b9ed7fd0ac8a75106148254aa58e2e5c04863 (diff)
downloadtdenetwork-808e453c56036211f57482ed847d54aca01bba68.tar.gz
tdenetwork-808e453c56036211f57482ed847d54aca01bba68.zip
Rename a number of old tq methods that are no longer tq specific
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