diff options
Diffstat (limited to 'qtjava/javalib/tutorial/t2/Tut2.java')
-rw-r--r-- | qtjava/javalib/tutorial/t2/Tut2.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/qtjava/javalib/tutorial/t2/Tut2.java b/qtjava/javalib/tutorial/t2/Tut2.java index d9e0883a..2d509777 100644 --- a/qtjava/javalib/tutorial/t2/Tut2.java +++ b/qtjava/javalib/tutorial/t2/Tut2.java @@ -1,11 +1,11 @@ import org.kde.qt.*; -public class Tut2 extends QObject { +public class Tut2 extends TQObject { public static void main(String[] args) { - QApplication a = new QApplication(args); - QPushButton quit = new QPushButton("Quit", null); + TQApplication a = new TQApplication(args); + TQPushButton quit = new TQPushButton("Quit", null); quit.resize( 75, 30 ); - quit.setFont(new QFont("Times", 18, QFont.Bold, false)); + quit.setFont(new TQFont("Times", 18, TQFont.Bold, false)); connect(quit, SIGNAL("clicked()"), a, SLOT("quit()")); |