summaryrefslogtreecommitdiffstats
path: root/plugins/scheduler/bwscheduler.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:57:16 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:57:16 -0600
commit42a9872891eba166e81cf4f8c062261cc77398f8 (patch)
tree86b4f99b354b8d8eabeca2ffe1874b3c4c90d957 /plugins/scheduler/bwscheduler.cpp
parentf96f74ffa7040e64ae3352e08c810c383c8a0ba2 (diff)
downloadktorrent-42a9872891eba166e81cf4f8c062261cc77398f8.tar.gz
ktorrent-42a9872891eba166e81cf4f8c062261cc77398f8.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit f96f74ffa7040e64ae3352e08c810c383c8a0ba2.
Diffstat (limited to 'plugins/scheduler/bwscheduler.cpp')
-rw-r--r--plugins/scheduler/bwscheduler.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/scheduler/bwscheduler.cpp b/plugins/scheduler/bwscheduler.cpp
index 56256a4..a669360 100644
--- a/plugins/scheduler/bwscheduler.cpp
+++ b/plugins/scheduler/bwscheduler.cpp
@@ -160,9 +160,9 @@ namespace kt
if(!m_enabled)
return;
- TQDateTime now = TQDateTime::currentDateTime();
+ TQDateTime now = TQDateTime::tqcurrentDateTime();
- TQString prefix = TQString("BWS: %1 :: ").arg(now.toString());
+ TQString prefix = TQString("BWS: %1 :: ").tqarg(now.toString());
int t1 = now.date().dayOfWeek();
int t2 = now.time().hour();
@@ -173,7 +173,7 @@ namespace kt
case CAT_NORMAL:
Out(SYS_SCD|LOG_NOTICE) << prefix << "Switching to NORMAL category" << endl;
Out(SYS_SCD|LOG_NOTICE) << prefix << TQString("%1 Up, %2 Down")
- .arg(m_core->getMaxUploadSpeed()).arg(m_core->getMaxDownloadSpeed()) << endl;
+ .tqarg(m_core->getMaxUploadSpeed()).tqarg(m_core->getMaxDownloadSpeed()) << endl;
if(!m_core)
break;
m_core->setPausedState(false);
@@ -183,7 +183,7 @@ namespace kt
case CAT_FIRST:
Out(SYS_SCD|LOG_NOTICE) << prefix << "Switching to FIRST category" << endl;
Out(SYS_SCD|LOG_NOTICE) << prefix << TQString("%1 Up, %2 Down")
- .arg(m_schedule.getUpload(0)).arg(m_schedule.getDownload(0)) << endl;
+ .tqarg(m_schedule.getUpload(0)).tqarg(m_schedule.getDownload(0)) << endl;
if(!m_core)
break;
m_core->setPausedState(false);
@@ -193,7 +193,7 @@ namespace kt
case CAT_SECOND:
Out(SYS_SCD|LOG_NOTICE) << prefix << "Switching to SECOND category" << endl;
Out(SYS_SCD|LOG_NOTICE) << prefix << TQString("%1 Up, %2 Down")
- .arg(m_schedule.getUpload(1)).arg(m_schedule.getDownload(1)) << endl;
+ .tqarg(m_schedule.getUpload(1)).tqarg(m_schedule.getDownload(1)) << endl;
if(!m_core)
break;
m_core->setPausedState(false);
@@ -203,7 +203,7 @@ namespace kt
case CAT_THIRD:
Out(SYS_SCD|LOG_NOTICE) << prefix << "Switching to THIRD category" << endl;
Out(SYS_SCD|LOG_NOTICE) << prefix << TQString("%1 Up, %2 Down")
- .arg(m_schedule.getUpload(2)).arg(m_schedule.getDownload(2)) << endl;
+ .tqarg(m_schedule.getUpload(2)).tqarg(m_schedule.getDownload(2)) << endl;
if(!m_core)
break;
m_core->setPausedState(false);