diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-05 15:55:57 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-05 15:55:57 -0600 |
commit | 9ba04742771370f59740e32e11c5f3a1e6a1b70a (patch) | |
tree | c81c34dae2b3b1ea73801bf18a960265dc4207f7 /qtjava/javalib/examples/scribble/Main.java | |
parent | 1a96c45b22d01378202d9dc7ed9c47acd30f966e (diff) | |
download | tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.tar.gz tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.zip |
Initial TQt conversion
Diffstat (limited to 'qtjava/javalib/examples/scribble/Main.java')
-rw-r--r-- | qtjava/javalib/examples/scribble/Main.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/qtjava/javalib/examples/scribble/Main.java b/qtjava/javalib/examples/scribble/Main.java index 01d7a416..1e77807d 100644 --- a/qtjava/javalib/examples/scribble/Main.java +++ b/qtjava/javalib/examples/scribble/Main.java @@ -14,15 +14,15 @@ public class Main { public static void main(String[] args) { - QApplication a = new QApplication( args ); + TQApplication a = new TQApplication( args ); Scribble scribble = new Scribble(); scribble.resize( 500, 350 ); scribble.setCaption("Qt Example - Scribble"); a.setMainWidget( scribble ); - if ( QApplication.desktop().width() > 550 - && QApplication.desktop().height() > 366 ) + if ( TQApplication.desktop().width() > 550 + && TQApplication.desktop().height() > 366 ) scribble.show(); else scribble.showMaximized(); |