summaryrefslogtreecommitdiffstats
path: root/kjsembed/tests/test_childevent.js
diff options
context:
space:
mode:
Diffstat (limited to 'kjsembed/tests/test_childevent.js')
-rw-r--r--kjsembed/tests/test_childevent.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/kjsembed/tests/test_childevent.js b/kjsembed/tests/test_childevent.js
index 363f3492..d1ef2746 100644
--- a/kjsembed/tests/test_childevent.js
+++ b/kjsembed/tests/test_childevent.js
@@ -1,15 +1,15 @@
#!/usr/bin/env kjscmd
/**
- * Test of QChildEvent handling. This example will not work at the moment
+ * Test of TQChildEvent handling. This example will not work at the moment
* because support for these events is disabled. The problem occurs because we
* reenter the interpreter if the object was created by js.
*/
-var top = new QVBox();
-var hbox = new QHBox(top, 'button_hbox');
-var add = new QPushButton(hbox, 'add_button');
-var del = new QPushButton(hbox, 'del_button');
+var top = new TQVBox();
+var hbox = new TQHBox(top, 'button_hbox');
+var add = new TQPushButton(hbox, 'add_button');
+var del = new TQPushButton(hbox, 'del_button');
add.text = 'Add';
del.text = 'Delete';
@@ -26,7 +26,7 @@ top.childRemoveEvent = function(ev)
top.addSlot = function()
{
- l = new QLabel( this, 'demo_label' );
+ l = new TQLabel( this, 'demo_label' );
l.text = 'Hello World';
l.show();
}