diff options
author | Timothy Pearson <[email protected]> | 2011-12-15 15:51:21 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-15 15:51:21 -0600 |
commit | b6ba5d642f3fc7d320e3d6f4650eb259a3a52b04 (patch) | |
tree | 76f49820693d443128d3720322ff1605e9bcd558 /languages/cpp/app_templates/qmakeapp | |
parent | 247f828db1b8dcdc9346c1568d81cfa00db99c9e (diff) | |
download | tdevelop-b6ba5d642f3fc7d320e3d6f4650eb259a3a52b04.tar.gz tdevelop-b6ba5d642f3fc7d320e3d6f4650eb259a3a52b04.zip |
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'languages/cpp/app_templates/qmakeapp')
-rw-r--r-- | languages/cpp/app_templates/qmakeapp/qmakeapp.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/languages/cpp/app_templates/qmakeapp/qmakeapp.cpp b/languages/cpp/app_templates/qmakeapp/qmakeapp.cpp index 4b78645a..9666125e 100644 --- a/languages/cpp/app_templates/qmakeapp/qmakeapp.cpp +++ b/languages/cpp/app_templates/qmakeapp/qmakeapp.cpp @@ -8,7 +8,7 @@ #include <tqtoolbutton.h> #include <tqpopupmenu.h> #include <tqmenubar.h> -#include <tqtextedit.h> +#include <textedit.h> #include <tqfile.h> #include <tqfiledialog.h> #include <statusbar.h> @@ -16,7 +16,7 @@ #include <tqprinter.h> #include <tqapplication.h> #include <tqaccel.h> -#include <tqtextstream.h> +#include <textstream.h> #include <tqpainter.h> #include <tqpaintdevicemetrics.h> #include <tqwhatsthis.h> @@ -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 ); } |