diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 11:58:08 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 11:58:08 -0600 |
commit | 1de96857f5b0ed5d4a36e9486ffc8c7f8c802f98 (patch) | |
tree | e24fdc0514249de1233dd5dc07f09d07a35f4269 /kget/transfer.cpp | |
parent | 089118c18533dfa3e6ce5065dbebdd4db94051f1 (diff) | |
download | tdenetwork-1de96857f5b0ed5d4a36e9486ffc8c7f8c802f98.tar.gz tdenetwork-1de96857f5b0ed5d4a36e9486ffc8c7f8c802f98.zip |
Remove additional unneeded tq method conversions
Diffstat (limited to 'kget/transfer.cpp')
-rw-r--r-- | kget/transfer.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kget/transfer.cpp b/kget/transfer.cpp index a698f979..230daa19 100644 --- a/kget/transfer.cpp +++ b/kget/transfer.cpp @@ -272,8 +272,8 @@ void Transfer::updateAll() updateStatus(status); // first phase of animation - logMessage(i18n("Copy file from: %1").tqarg(src.prettyURL())); - logMessage(i18n("To: %1").tqarg(dest.prettyURL())); + logMessage(i18n("Copy file from: %1").arg(src.prettyURL())); + logMessage(i18n("To: %1").arg(dest.prettyURL())); // source setText(view->lv_url, src.prettyURL()); @@ -291,7 +291,7 @@ void Transfer::updateAll() } if (totalSize != 0) { - //logMessage(i18n("Total size is %1 bytes").tqarg((double)totalSize)); + //logMessage(i18n("Total size is %1 bytes").arg((double)totalSize)); setText(view->lv_total, KIO::convertSize(totalSize)); } else { //logMessage(i18n("Total size is unknown")); @@ -386,7 +386,7 @@ void Transfer::slotResume() status = ST_TRYING; mode = MD_TQUEUED; - logMessage(i18n("Attempt number %1").tqarg(retryCount)); + logMessage(i18n("Attempt number %1").arg(retryCount)); sDebug << "sending Resume to slave " << endl; m_pSlave->Op(Slave::RETR); @@ -581,7 +581,7 @@ void Transfer::slotRenaming(KIO::Job *, const KURL &, const KURL & to) dest = to; - logMessage(i18n("Renaming to %1").tqarg(dest.prettyURL().ascii())); + logMessage(i18n("Renaming to %1").arg(dest.prettyURL().ascii())); // destination setText (view->lv_filename, dest.fileName ()); @@ -623,7 +623,7 @@ void Transfer::slotSpeed(unsigned long bytes_per_second) dlgIndividual->setSpeed(i18n("Stopped")); } else { - TQString tmps = i18n("%1/s").tqarg(KIO::convertSize(speed)); + TQString tmps = i18n("%1/s").arg(KIO::convertSize(speed)); setText(view->lv_speed, tmps); setText(view->lv_remaining, remainingTime); if(dlgIndividual) @@ -644,7 +644,7 @@ void Transfer::slotTotalSize(KIO::filesize_t bytes) if (totalSize == 0) { totalSize = bytes; if (totalSize != 0) { - logMessage(i18n("Total size is %1 bytes").tqarg((double)totalSize,0,'f',0)); + logMessage(i18n("Total size is %1 bytes").arg((double)totalSize,0,'f',0)); setText(view->lv_total, KIO::convertSize(totalSize)); if(dlgIndividual) { |