diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-02-27 17:55:22 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-02-27 17:55:22 -0600 |
commit | ef5a04df564ad5c27406c41fb55e32ad3aa39d25 (patch) | |
tree | bf521221fffb7a73f318fc5579da7c25fed9ff74 /qtjava/javalib/examples/qwerty/Editor.java | |
parent | 6d5f6f30f0236920737b74261e664fdaab90c33c (diff) | |
download | tdebindings-ef5a04df564ad5c27406c41fb55e32ad3aa39d25.tar.gz tdebindings-ef5a04df564ad5c27406c41fb55e32ad3aa39d25.zip |
Rename tqt3 color functions
Diffstat (limited to 'qtjava/javalib/examples/qwerty/Editor.java')
-rw-r--r-- | qtjava/javalib/examples/qwerty/Editor.java | 6 |
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 ); |