summaryrefslogtreecommitdiffstats
path: root/example/application.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:58:00 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:58:00 -0600
commit6ade7e598a18691f3f92471c4441d856b3ac54dc (patch)
treeca18ed733e273279bab574978806068e506c241a /example/application.cpp
parent5e3fc3a36b58c4e1cb48e31a350f76b7a81b3170 (diff)
downloadtqscintilla-6ade7e598a18691f3f92471c4441d856b3ac54dc.tar.gz
tqscintilla-6ade7e598a18691f3f92471c4441d856b3ac54dc.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 5e3fc3a36b58c4e1cb48e31a350f76b7a81b3170.
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 bf19fb6..fbc03be 100644
--- a/example/application.cpp
+++ b/example/application.cpp
@@ -23,7 +23,7 @@
#include <tqprinter.h>
#include <tqapplication.h>
#include <tqaccel.h>
-#include <textstream.h>
+#include <tqtextstream.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").arg(filename),
+ statusBar()->message( TQString("Could not write to %1").tqarg(filename),
2000 );
return;
}
@@ -198,7 +198,7 @@ void ApplicationWindow::save()
setCaption( filename );
- statusBar()->message( TQString( "File %1 saved" ).arg( filename ), 2000 );
+ statusBar()->message( TQString( "File %1 saved" ).tqarg( filename ), 2000 );
}