diff options
author | Timothy Pearson <[email protected]> | 2012-02-27 17:55:22 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2012-02-27 17:55:22 -0600 |
commit | ef5a04df564ad5c27406c41fb55e32ad3aa39d25 (patch) | |
tree | bf521221fffb7a73f318fc5579da7c25fed9ff74 /qtjava/javalib/tutorial/t14/GameBoard.java | |
parent | 6d5f6f30f0236920737b74261e664fdaab90c33c (diff) | |
download | tdebindings-ef5a04df564ad5c27406c41fb55e32ad3aa39d25.tar.gz tdebindings-ef5a04df564ad5c27406c41fb55e32ad3aa39d25.zip |
Rename tqt3 color functions
Diffstat (limited to 'qtjava/javalib/tutorial/t14/GameBoard.java')
-rw-r--r-- | qtjava/javalib/tutorial/t14/GameBoard.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/qtjava/javalib/tutorial/t14/GameBoard.java b/qtjava/javalib/tutorial/t14/GameBoard.java index 571e902e..95783df5 100644 --- a/qtjava/javalib/tutorial/t14/GameBoard.java +++ b/qtjava/javalib/tutorial/t14/GameBoard.java @@ -10,7 +10,7 @@ public class GameBoard extends TQWidget { TQPushButton quit = new TQPushButton("&Quit", this, "quit"); quit.setFont(new TQFont("Times", 18, TQFont.Bold, false)); - connect(quit, SIGNAL("clicked()"), qApp(), SLOT("quit()")); + connect(quit, SIGNAL("clicked()"), tqApp(), SLOT("quit()")); LCDRange angle = new LCDRange("ANGLE", this, "angle"); angle.setRange(5, 70); @@ -56,11 +56,11 @@ public class GameBoard extends TQWidget { TQAccel accel = new TQAccel(this); accel.connectItem(accel.insertItem(new TQKeySequence(Key_Enter)), this, SLOT("fire()")); accel.connectItem(accel.insertItem(new TQKeySequence(Key_Return)), this, SLOT("fire()")); - accel.connectItem(accel.insertItem(new TQKeySequence(CTRL+Key_Q)), qApp(), SLOT("quit()")); + accel.connectItem(accel.insertItem(new TQKeySequence(CTRL+Key_Q)), tqApp(), SLOT("quit()")); /*** accel.connectItem(accel.insertItem(Key_Enter), this, SLOT("fire()")); accel.connectItem(accel.insertItem(Key_Return), this, SLOT("fire()")); - accel.connectItem(accel.insertItem(CTRL+Key_Q), qApp(), SLOT("quit()")); + accel.connectItem(accel.insertItem(CTRL+Key_Q), tqApp(), SLOT("quit()")); ***/ TQGridLayout grid = new TQGridLayout(this, 2, 2, 10, -1, null); grid.addWidget(quit, 0, 0); |