From ec049c7c32d50faf317b13d5c844a19978881fc3 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 19 Dec 2011 12:00:33 -0600 Subject: Remove additional unneeded tq method conversions (cherry picked from commit 7e66d7c3611d907ea28b140281b472bb1c406be6) --- languages/cpp/app_templates/cmakeqt3app/cmakeqt3app.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'languages/cpp/app_templates/cmakeqt3app/cmakeqt3app.cpp') diff --git a/languages/cpp/app_templates/cmakeqt3app/cmakeqt3app.cpp b/languages/cpp/app_templates/cmakeqt3app/cmakeqt3app.cpp index 4b78645a..0dabf861 100644 --- a/languages/cpp/app_templates/cmakeqt3app/cmakeqt3app.cpp +++ b/languages/cpp/app_templates/cmakeqt3app/cmakeqt3app.cpp @@ -159,7 +159,7 @@ void %{APPNAME}::load( const TQString &fileName ) e->setText( ts.read() ); e->setModified( FALSE ); setCaption( fileName ); - statusBar()->message( tr("Loaded document %1").tqarg(fileName), 2000 ); + statusBar()->message( tr("Loaded document %1").arg(fileName), 2000 ); } @@ -173,7 +173,7 @@ void %{APPNAME}::save() TQString text = e->text(); TQFile f( filename ); if ( !f.open( IO_WriteOnly ) ) { - statusBar()->message( tr("Could not write to %1").tqarg(filename), + statusBar()->message( tr("Could not write to %1").arg(filename), 2000 ); return; } @@ -186,7 +186,7 @@ void %{APPNAME}::save() setCaption( filename ); - statusBar()->message( tr( "File %1 saved" ).tqarg( filename ), 2000 ); + statusBar()->message( tr( "File %1 saved" ).arg( filename ), 2000 ); } -- cgit v1.2.1