summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:40:28 -0600
committerSlávek Banko <slavek.banko@axis.cz>2012-08-01 18:57:40 +0200
commit55f7ca24b7475783b25eeac49b5165df19328991 (patch)
treec62897998450f011d7b9bc3ca95dc3da030eb3d2
parent5fac98039fe364b10080a109aa78ac6a6ef3c65c (diff)
downloadpotracegui-55f7ca24b7475783b25eeac49b5165df19328991.tar.gz
potracegui-55f7ca24b7475783b25eeac49b5165df19328991.zip
Remove additional unneeded tq method conversions
(cherry picked from commit 8b2f9e86eb95ded106bc2bf1c0c55cd4602bd789)
-rw-r--r--src/mainwidget.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/mainwidget.cpp b/src/mainwidget.cpp
index cc86dd3..a813fd3 100644
--- a/src/mainwidget.cpp
+++ b/src/mainwidget.cpp
@@ -140,7 +140,7 @@ void MainWidget::fileSave() {
{
int res;
if(TQFile::exists(saveFilename))
- res=KMessageBox::warningYesNo(this, i18n("Overwrite %1 ?").tqarg(saveFilename));
+ res=KMessageBox::warningYesNo(this, i18n("Overwrite %1 ?").arg(saveFilename));
else
{
salva=true;
@@ -165,14 +165,14 @@ void MainWidget::fileSave() {
emit signalChangeStatusbar(i18n(i18n("Error while saving file")));
return;
}
- emit signalChangeStatusbar(i18n("Saving %1...").tqarg(m_outputFilename));
+ emit signalChangeStatusbar(i18n("Saving %1...").arg(m_outputFilename));
char ch;
while(in.get(ch))
out.put(ch);
in.close();
out.close();
m_changed=false;
- emit signalChangeStatusbar(i18n("File %1 saved.").tqarg(m_outputFilename));
+ emit signalChangeStatusbar(i18n("File %1 saved.").arg(m_outputFilename));
}
else
emit signalChangeStatusbar(i18n("File not saved"));
@@ -186,14 +186,14 @@ void MainWidget::fileSave() {
emit signalChangeStatusbar(i18n("Error while saving file"));
return;
}
- emit signalChangeStatusbar(i18n("Saving %1...").tqarg(m_outputFilename));
+ emit signalChangeStatusbar(i18n("Saving %1...").arg(m_outputFilename));
char ch;
while(in.get(ch))
out.put(ch);
in.close();
out.close();
- emit signalChangeStatusbar(i18n("File %1 saved.").tqarg(m_outputFilename));
+ emit signalChangeStatusbar(i18n("File %1 saved.").arg(m_outputFilename));
m_changed=false;
}
}
@@ -226,7 +226,7 @@ void MainWidget::fileSaveAs() {
{
int res;
if(TQFile::exists(saveFilename))
- res=KMessageBox::warningYesNo(this,i18n("Overwrite %1 ?").tqarg(saveFilename));
+ res=KMessageBox::warningYesNo(this,i18n("Overwrite %1 ?").arg(saveFilename));
else
{
salva=true;
@@ -251,14 +251,14 @@ void MainWidget::fileSaveAs() {
emit signalChangeStatusbar(i18n("Error while saving file"));
return;
}
- emit signalChangeStatusbar(i18n("Saving %1...").tqarg(m_outputFilename));
+ emit signalChangeStatusbar(i18n("Saving %1...").arg(m_outputFilename));
char ch;
while(in.get(ch))
out.put(ch);
in.close();
out.close();
m_changed=false;
- emit signalChangeStatusbar(i18n("File %1 saved.").tqarg(m_outputFilename));
+ emit signalChangeStatusbar(i18n("File %1 saved.").arg(m_outputFilename));
}
else
emit signalChangeStatusbar(i18n("File not saved"));
@@ -366,7 +366,7 @@ void MainWidget::getImageFromURL(KURL url) {
previewLabel->clear();
previewLabel->setGeometry(0,0,10,10);
imagesTabs->setCurrentPage(0);
- emit signalChangeStatusbar(i18n("File %1 loaded.").tqarg(filename));
+ emit signalChangeStatusbar(i18n("File %1 loaded.").arg(filename));
if (!url.isLocalFile())
KIO::NetAccess::removeTempFile(filename);
@@ -879,7 +879,7 @@ void MainWidget::tracerExited() {
setCursor(ArrowCursor);
return;
}
- if(tracer.exiStatus()!=0)
+ if(tracer.exitStatus()!=0)
{
emit(signalChangeStatusbar(i18n("Finished with errors")));
TQString tmp(i18n("Error during the process:"));