summaryrefslogtreecommitdiffstats
path: root/kjsembed/docs/examples/invaders
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-05 15:55:57 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-05 15:55:57 -0600
commit9ba04742771370f59740e32e11c5f3a1e6a1b70a (patch)
treec81c34dae2b3b1ea73801bf18a960265dc4207f7 /kjsembed/docs/examples/invaders
parent1a96c45b22d01378202d9dc7ed9c47acd30f966e (diff)
downloadtdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.tar.gz
tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.zip
Initial TQt conversion
Diffstat (limited to 'kjsembed/docs/examples/invaders')
-rwxr-xr-xkjsembed/docs/examples/invaders/invaders.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/kjsembed/docs/examples/invaders/invaders.js b/kjsembed/docs/examples/invaders/invaders.js
index 55531258..bca6dce4 100755
--- a/kjsembed/docs/examples/invaders/invaders.js
+++ b/kjsembed/docs/examples/invaders/invaders.js
@@ -14,12 +14,12 @@ var hitflag = 0;
var score = 0;
var selec = 0;
var rsmiss = "";
-var timer = new QTimer(this);
+var timer = new TQTimer(this);
timer.connect(timer, "timeout()", this, "doTurn");
var win = new KMainWindow(this);
-var box = new QVBox(win);
-var view = new QLabel(box);
+var box = new TQVBox(win);
+var view = new TQLabel(box);
//view.setMouseTracking(true);
view.font = "courier,12,-1,5,75,0,0,0,0,0"
@@ -160,7 +160,7 @@ function gameover()
if (score == 0) {
view.text = cr + cr + cr + cr + cr + cr + cr + cr
+ " Congratulations!" + cr + cr
- + " YOU STOPPED THE ENEMY SQUAD!!";
+ + " YOU STOPPED THE ENEMY STQUAD!!";
} else {
view.text = cr + cr + cr + cr + cr + cr + cr + cr
+ " GAME OVER" + cr + cr