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/qfd/Main.java | |
parent | 1a96c45b22d01378202d9dc7ed9c47acd30f966e (diff) | |
download | tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.tar.gz tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.zip |
Initial TQt conversion
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(); |