summaryrefslogtreecommitdiffstats
path: root/kfilereplace/kfilereplacelib.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kfilereplace/kfilereplacelib.cpp')
-rw-r--r--kfilereplace/kfilereplacelib.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kfilereplace/kfilereplacelib.cpp b/kfilereplace/kfilereplacelib.cpp
index 6e0d8323..b9073dea 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").arg(TQString::number(d,'f',2));
+ stringSize = i18n("%1 KB").tqarg(TQString::number(d,'f',2));
}
else
if(size >= mega && size < giga)
{
double d = size / mega;
- stringSize = i18n("%1 MB").arg(TQString::number(d,'f',2));
+ stringSize = i18n("%1 MB").tqarg(TQString::number(d,'f',2));
}
else
if(size >= giga)
{
double d = size / giga;
- stringSize = i18n("%1 GB").arg(TQString::number(d,'f',2));
+ stringSize = i18n("%1 GB").tqarg(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>").arg(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>").tqarg(fileName));
return ;
}
@@ -324,7 +324,7 @@ void KFileReplaceLib::setIconForFileEntry(TQListViewItem* item, TQString path)
extensionMap["kmdr"] = "widget_doc";
extensionMap["kwd"] = "kword_kwd";
extensionMap["log"] = "log";
- extensionMap["moc"] = "source_moc";
+ extensionMap["tqmoc"] = "source_tqmoc";
extensionMap["mp3"] = "sound";
extensionMap["o"] = "source_o";
extensionMap["pdf"] = "pdf";