diff options
Diffstat (limited to 'example/application.cpp')
-rw-r--r-- | example/application.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/example/application.cpp b/example/application.cpp index fbc03be..bf19fb6 100644 --- a/example/application.cpp +++ b/example/application.cpp @@ -23,7 +23,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> @@ -185,7 +185,7 @@ void ApplicationWindow::save() TQString text = e->text(); TQFile f( filename ); if ( !f.open( IO_WriteOnly ) ) { - statusBar()->message( TQString("Could not write to %1").tqarg(filename), + statusBar()->message( TQString("Could not write to %1").arg(filename), 2000 ); return; } @@ -198,7 +198,7 @@ void ApplicationWindow::save() setCaption( filename ); - statusBar()->message( TQString( "File %1 saved" ).tqarg( filename ), 2000 ); + statusBar()->message( TQString( "File %1 saved" ).arg( filename ), 2000 ); } |