summaryrefslogtreecommitdiffstats
path: root/kfilereplace/kfilereplacelib.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 12:01:04 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 12:01:04 -0600
commit84c989c19db5daab602a67f47ca0f5fd7a2b53d2 (patch)
treedc5875bd392dce2d636a94bebcf5c44a270fac6d /kfilereplace/kfilereplacelib.cpp
parent9445f97b426e97c6ce46de18fba4030da45d56df (diff)
downloadtdewebdev-84c989c19db5daab602a67f47ca0f5fd7a2b53d2.tar.gz
tdewebdev-84c989c19db5daab602a67f47ca0f5fd7a2b53d2.zip
Remove additional unneeded tq method conversions
Diffstat (limited to 'kfilereplace/kfilereplacelib.cpp')
-rw-r--r--kfilereplace/kfilereplacelib.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kfilereplace/kfilereplacelib.cpp b/kfilereplace/kfilereplacelib.cpp
index b9073dea..5a3bfcd4 100644
--- a/kfilereplace/kfilereplacelib.cpp
+++ b/kfilereplace/kfilereplacelib.cpp
@@ -102,19 +102,19 @@ TQString KFileReplaceLib::formatFileSize(double size)
if(size >= kilo && size < mega)
{
double d = size / kilo;
- stringSize = i18n("%1 KB").tqarg(TQString::number(d,'f',2));
+ stringSize = i18n("%1 KB").arg(TQString::number(d,'f',2));
}
else
if(size >= mega && size < giga)
{
double d = size / mega;
- stringSize = i18n("%1 MB").tqarg(TQString::number(d,'f',2));
+ stringSize = i18n("%1 MB").arg(TQString::number(d,'f',2));
}
else
if(size >= giga)
{
double d = size / giga;
- stringSize = i18n("%1 GB").tqarg(TQString::number(d,'f',2));
+ stringSize = i18n("%1 GB").arg(TQString::number(d,'f',2));
}
return stringSize;
}
@@ -137,7 +137,7 @@ void KFileReplaceLib::convertOldToNewKFRFormat(const TQString& fileName, KListVi
if(!f || (err != 1) || (pgm != "KFileReplace"))
{
- KMessageBox::error(0, i18n("<qt>Cannot open the file <b>%1</b> and load the string list. This file seems not to be a valid old kfr file or it is broken.</qt>").tqarg(fileName));
+ KMessageBox::error(0, i18n("<qt>Cannot open the file <b>%1</b> and load the string list. This file seems not to be a valid old kfr file or it is broken.</qt>").arg(fileName));
return ;
}