diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-16 19:02:47 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-16 19:02:47 +0000 |
commit | e985f7e545f4739493965aad69bbecb136dc9346 (patch) | |
tree | 54afd409d8acd6202dd8ab611d24e78c28e4c0a0 /kfilereplace/kfilereplacelib.cpp | |
parent | f7670c198945adc3b95ad69a959fe5f8ae55b493 (diff) | |
download | tdewebdev-e985f7e545f4739493965aad69bbecb136dc9346.tar.gz tdewebdev-e985f7e545f4739493965aad69bbecb136dc9346.zip |
TQt4 port kdewebdev
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1237029 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kfilereplace/kfilereplacelib.cpp')
-rw-r--r-- | kfilereplace/kfilereplacelib.cpp | 10 |
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"; |