summaryrefslogtreecommitdiffstats
path: root/example/application.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:35:23 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:35:23 -0600
commit5e3fc3a36b58c4e1cb48e31a350f76b7a81b3170 (patch)
treef6be5c0cc8881dc1d2df5e4d56e59c388b52cd41 /example/application.cpp
parent2ca85d336093fd44a5effafbc44dde7edd4e30ec (diff)
downloadtqscintilla-5e3fc3a36b58c4e1cb48e31a350f76b7a81b3170.tar.gz
tqscintilla-5e3fc3a36b58c4e1cb48e31a350f76b7a81b3170.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'example/application.cpp')
-rw-r--r--example/application.cpp6
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 );
}