summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/qt4makeapp
diff options
context:
space:
mode:
Diffstat (limited to 'languages/cpp/app_templates/qt4makeapp')
-rw-r--r--languages/cpp/app_templates/qt4makeapp/qt4makeapp.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/languages/cpp/app_templates/qt4makeapp/qt4makeapp.cpp b/languages/cpp/app_templates/qt4makeapp/qt4makeapp.cpp
index f2178d9d..c3a8964f 100644
--- a/languages/cpp/app_templates/qt4makeapp/qt4makeapp.cpp
+++ b/languages/cpp/app_templates/qt4makeapp/qt4makeapp.cpp
@@ -223,8 +223,8 @@ void %{APPNAME}::loadFile(const TQString &fileName)
if (!file.open(TQFile::ReadOnly | TQFile::Text)) {
TQMessageBox::warning(this, tr("Application"),
tr("Cannot read file %1:\n%2.")
- .tqarg(fileName)
- .tqarg(file.errorString()));
+ .arg(fileName)
+ .arg(file.errorString()));
return;
}
@@ -243,8 +243,8 @@ bool %{APPNAME}::saveFile(const TQString &fileName)
if (!file.open(TQFile::WriteOnly | TQFile::Text)) {
TQMessageBox::warning(this, tr("Application"),
tr("Cannot write file %1:\n%2.")
- .tqarg(fileName)
- .tqarg(file.errorString()));
+ .arg(fileName)
+ .arg(file.errorString()));
return false;
}
@@ -270,7 +270,7 @@ void %{APPNAME}::setCurrentFile(const TQString &fileName)
else
shownName = strippedName(curFile);
- setWindowTitle(tr("%1[*] - %2").tqarg(shownName).tqarg(tr("Application")));
+ setWindowTitle(tr("%1[*] - %2").arg(shownName).arg(tr("Application")));
}
TQString %{APPNAME}::strippedName(const TQString &fullFileName)