summaryrefslogtreecommitdiffstats
path: root/kjsembed/docs/examples/invaders
diff options
context:
space:
mode:
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