diff options
Diffstat (limited to 'qtjava/javalib/examples/qfd/Main.java')
-rw-r--r-- | qtjava/javalib/examples/qfd/Main.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/qtjava/javalib/examples/qfd/Main.java b/qtjava/javalib/examples/qfd/Main.java index d25f2389..301c7068 100644 --- a/qtjava/javalib/examples/qfd/Main.java +++ b/qtjava/javalib/examples/qfd/Main.java @@ -15,16 +15,16 @@ class Main { public static void main(String[] args) { // Use an interesting font - QApplication.setFont(new QFont("unifont",16)); + TQApplication.setFont(new TQFont("unifont",16)); - QApplication app = new QApplication(args); + TQApplication app = new TQApplication(args); FontDisplayer m = new FontDisplayer(); - QSize sh = m.centralWidget().sizeHint(); + TQSize sh = m.centralWidget().sizeHint(); m.resize(sh.width(), sh.height()+3*m.statusBar().height()); app.setMainWidget(m); - m.setCaption("Qt Example - QFD"); + m.setCaption("Qt Example - TQFD"); m.show(); app.exec(); |