summaryrefslogtreecommitdiffstats
path: root/kbabel/catalogmanager/multiroughtransdlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kbabel/catalogmanager/multiroughtransdlg.cpp')
-rw-r--r--kbabel/catalogmanager/multiroughtransdlg.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/kbabel/catalogmanager/multiroughtransdlg.cpp b/kbabel/catalogmanager/multiroughtransdlg.cpp
index 56074c66..16373a0b 100644
--- a/kbabel/catalogmanager/multiroughtransdlg.cpp
+++ b/kbabel/catalogmanager/multiroughtransdlg.cpp
@@ -36,7 +36,7 @@
#include "multiroughtransdlg.h"
#include <tqlabel.h>
-#include <layout.h>
+#include <tqlayout.h>
#include <kdebug.h>
#include <kglobal.h>
@@ -58,9 +58,9 @@ MultiRoughTransDlg::MultiRoughTransDlg(KBabelDictBox *dict, TQPtrList<CatManList
filesProgressbar->setTextEnabled(true);
filesProgressbar->setFormat("%v/%m (%p%)");
filesProgressbar->setTotalSteps(files.count());
- TQHBoxLayout* mylayout= new TQHBoxLayout(bars->layout());
- mylayout->add(label);
- mylayout->add(filesProgressbar);
+ TQHBoxLayout* mytqlayout= new TQHBoxLayout(bars->tqlayout());
+ mytqlayout->add(label);
+ mytqlayout->add(filesProgressbar);
msgButtonClicked(0);
}
@@ -82,7 +82,7 @@ void MultiRoughTransDlg::translate()
if( catalog->openURL( url ) != OK )
{
KMessageBox::error(this, i18n("Error while trying to read file:\n %1\n"
- "Maybe it is not a valid PO file.").arg(url.prettyURL()));
+ "Maybe it is not a valid PO file.").tqarg(url.prettyURL()));
filesProgressbar->advance(1);
continue;
}
@@ -94,7 +94,7 @@ void MultiRoughTransDlg::translate()
if( catalog->openURL( poturl, url ) != OK )
{
KMessageBox::error(this, i18n("Error while trying to read file:\n %1\n"
- "Maybe it is not a valid PO file.").arg(poturl.prettyURL()));
+ "Maybe it is not a valid PO file.").tqarg(poturl.prettyURL()));
filesProgressbar->advance(1);
continue;
}
@@ -131,13 +131,13 @@ void MultiRoughTransDlg::showAllStatistics()
"Exact translations: %2 (%3%)\n"
"Approximate translations: %4 (%5%)\n"
"Nothing found: %6 (%7%)")
- .arg( locale->formatNumber(tt,0) )
- .arg( locale->formatNumber(etc,0) )
- .arg( locale->formatNumber( ((double)(10000*etc/tt))/100) )
- .arg( locale->formatNumber(ptc,0) )
- .arg( locale->formatNumber(((double)(10000*ptc/tt))/100) )
- .arg( locale->formatNumber(nothing,0) )
- .arg( locale->formatNumber(((double)(10000*nothing/tt)/100) ) );
+ .tqarg( locale->formatNumber(tt,0) )
+ .tqarg( locale->formatNumber(etc,0) )
+ .tqarg( locale->formatNumber( ((double)(10000*etc/tt))/100) )
+ .tqarg( locale->formatNumber(ptc,0) )
+ .tqarg( locale->formatNumber(((double)(10000*ptc/tt))/100) )
+ .tqarg( locale->formatNumber(nothing,0) )
+ .tqarg( locale->formatNumber(((double)(10000*nothing/tt)/100) ) );
KMessageBox::information(this, statMsg
, i18n("Rough Translation Statistics"));