summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/examples/scribble/Main.java
diff options
context:
space:
mode:
Diffstat (limited to 'qtjava/javalib/examples/scribble/Main.java')
-rw-r--r--qtjava/javalib/examples/scribble/Main.java6
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();