diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-02-27 17:55:22 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-02-27 17:55:22 -0600 |
commit | ef5a04df564ad5c27406c41fb55e32ad3aa39d25 (patch) | |
tree | bf521221fffb7a73f318fc5579da7c25fed9ff74 /qtjava/javalib/tutorial | |
parent | 6d5f6f30f0236920737b74261e664fdaab90c33c (diff) | |
download | tdebindings-ef5a04df564ad5c27406c41fb55e32ad3aa39d25.tar.gz tdebindings-ef5a04df564ad5c27406c41fb55e32ad3aa39d25.zip |
Rename tqt3 color functions
Diffstat (limited to 'qtjava/javalib/tutorial')
-rw-r--r-- | qtjava/javalib/tutorial/t10/Tut10.java | 2 | ||||
-rw-r--r-- | qtjava/javalib/tutorial/t11/Tut11.java | 2 | ||||
-rw-r--r-- | qtjava/javalib/tutorial/t12/Tut12.java | 2 | ||||
-rw-r--r-- | qtjava/javalib/tutorial/t13/GameBoard.java | 2 | ||||
-rw-r--r-- | qtjava/javalib/tutorial/t14/GameBoard.java | 6 | ||||
-rw-r--r-- | qtjava/javalib/tutorial/t4/Tut4.java | 2 | ||||
-rw-r--r-- | qtjava/javalib/tutorial/t5/Tut5.java | 2 | ||||
-rw-r--r-- | qtjava/javalib/tutorial/t6/Tut6.java | 2 | ||||
-rw-r--r-- | qtjava/javalib/tutorial/t7/Tut7.java | 2 | ||||
-rw-r--r-- | qtjava/javalib/tutorial/t8/Tut8.java | 2 | ||||
-rw-r--r-- | qtjava/javalib/tutorial/t9/Tut9.java | 2 |
11 files changed, 13 insertions, 13 deletions
diff --git a/qtjava/javalib/tutorial/t10/Tut10.java b/qtjava/javalib/tutorial/t10/Tut10.java index e85ef731..beecacc2 100644 --- a/qtjava/javalib/tutorial/t10/Tut10.java +++ b/qtjava/javalib/tutorial/t10/Tut10.java @@ -5,7 +5,7 @@ public class Tut10 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(this, "angle"); angle.setRange(5, 70); diff --git a/qtjava/javalib/tutorial/t11/Tut11.java b/qtjava/javalib/tutorial/t11/Tut11.java index 854a5b0f..1f7b3451 100644 --- a/qtjava/javalib/tutorial/t11/Tut11.java +++ b/qtjava/javalib/tutorial/t11/Tut11.java @@ -5,7 +5,7 @@ public class Tut11 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(this, "angle"); angle.setRange(5, 70); diff --git a/qtjava/javalib/tutorial/t12/Tut12.java b/qtjava/javalib/tutorial/t12/Tut12.java index 4bf347fd..f0044836 100644 --- a/qtjava/javalib/tutorial/t12/Tut12.java +++ b/qtjava/javalib/tutorial/t12/Tut12.java @@ -5,7 +5,7 @@ public class Tut12 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); diff --git a/qtjava/javalib/tutorial/t13/GameBoard.java b/qtjava/javalib/tutorial/t13/GameBoard.java index 5ba2579e..efde663c 100644 --- a/qtjava/javalib/tutorial/t13/GameBoard.java +++ b/qtjava/javalib/tutorial/t13/GameBoard.java @@ -9,7 +9,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); 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); diff --git a/qtjava/javalib/tutorial/t4/Tut4.java b/qtjava/javalib/tutorial/t4/Tut4.java index 3cb9393c..a8cb1f01 100644 --- a/qtjava/javalib/tutorial/t4/Tut4.java +++ b/qtjava/javalib/tutorial/t4/Tut4.java @@ -9,7 +9,7 @@ public class Tut4 extends TQWidget { quit.setGeometry(62, 40, 75, 30); quit.setFont(new TQFont("Times", 18, TQFont.Bold, false)); - connect(quit, SIGNAL("clicked()"), qApp(), SLOT("quit()")); + connect(quit, SIGNAL("clicked()"), tqApp(), SLOT("quit()")); } public static void main(String[] args) { diff --git a/qtjava/javalib/tutorial/t5/Tut5.java b/qtjava/javalib/tutorial/t5/Tut5.java index 7b3fa60a..335a03fc 100644 --- a/qtjava/javalib/tutorial/t5/Tut5.java +++ b/qtjava/javalib/tutorial/t5/Tut5.java @@ -5,7 +5,7 @@ public class Tut5 extends TQVBox { 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()")); TQLCDNumber lcd = new TQLCDNumber(2, this, "lcd"); diff --git a/qtjava/javalib/tutorial/t6/Tut6.java b/qtjava/javalib/tutorial/t6/Tut6.java index b93807cc..7945012b 100644 --- a/qtjava/javalib/tutorial/t6/Tut6.java +++ b/qtjava/javalib/tutorial/t6/Tut6.java @@ -5,7 +5,7 @@ public class Tut6 extends TQVBox { 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()")); TQGrid grid = new TQGrid(4, this, null, 0); diff --git a/qtjava/javalib/tutorial/t7/Tut7.java b/qtjava/javalib/tutorial/t7/Tut7.java index dbcf653c..657b5398 100644 --- a/qtjava/javalib/tutorial/t7/Tut7.java +++ b/qtjava/javalib/tutorial/t7/Tut7.java @@ -5,7 +5,7 @@ public class Tut7 extends TQVBox { 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()")); TQGrid grid = new TQGrid(4, this, null, 0); diff --git a/qtjava/javalib/tutorial/t8/Tut8.java b/qtjava/javalib/tutorial/t8/Tut8.java index 9cc4fa9f..f51cccd0 100644 --- a/qtjava/javalib/tutorial/t8/Tut8.java +++ b/qtjava/javalib/tutorial/t8/Tut8.java @@ -5,7 +5,7 @@ public class Tut8 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(this, "angle"); angle.setRange(5, 70); diff --git a/qtjava/javalib/tutorial/t9/Tut9.java b/qtjava/javalib/tutorial/t9/Tut9.java index 71531698..19219c29 100644 --- a/qtjava/javalib/tutorial/t9/Tut9.java +++ b/qtjava/javalib/tutorial/t9/Tut9.java @@ -5,7 +5,7 @@ public class Tut9 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(this, "angle"); angle.setRange(5, 70); |