summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/examples/qwerty/Editor.java
diff options
context:
space:
mode:
Diffstat (limited to 'qtjava/javalib/examples/qwerty/Editor.java')
-rw-r--r--qtjava/javalib/examples/qwerty/Editor.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/qtjava/javalib/examples/qwerty/Editor.java b/qtjava/javalib/examples/qwerty/Editor.java
index 3598c144..ec1423ad 100644
--- a/qtjava/javalib/examples/qwerty/Editor.java
+++ b/qtjava/javalib/examples/qwerty/Editor.java
@@ -59,7 +59,7 @@ Editor( TQWidget parent , String name )
file.insertItem( "&Print...", this, SLOT("print()"), new TQKeySequence(ALT+Key_P) );
file.insertSeparator();
file.insertItem( "&Close", this, SLOT("close()"),new TQKeySequence(ALT+Key_W) );
- file.insertItem( "&Quit", qApp(), SLOT("closeAllWindows()"), new TQKeySequence(ALT+Key_Q) );
+ file.insertItem( "&Quit", tqApp(), SLOT("closeAllWindows()"), new TQKeySequence(ALT+Key_Q) );
connect( save_as, SIGNAL("activated(int)"), this, SLOT("saveAsEncoding(int)") );
connect( open_as, SIGNAL("activated(int)"), this, SLOT("openAsEncoding(int)") );
@@ -128,8 +128,8 @@ void rebuildCodecList()
void newDoc()
{
Editor ed = new Editor();
- if ( qApp().desktop().size().width() < 450
- || qApp().desktop().size().height() < 450 ) {
+ if ( tqApp().desktop().size().width() < 450
+ || tqApp().desktop().size().height() < 450 ) {
ed.showMaximized();
} else {
ed.resize( 400, 400 );