diff options
Diffstat (limited to 'kjsembed/tests/test_qtabctl.js')
-rwxr-xr-x | kjsembed/tests/test_qtabctl.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kjsembed/tests/test_qtabctl.js b/kjsembed/tests/test_qtabctl.js index 60eebfdf..bb4ff563 100755 --- a/kjsembed/tests/test_qtabctl.js +++ b/kjsembed/tests/test_qtabctl.js @@ -1,13 +1,13 @@ #!/usr/bin/env kjscmd -var vbox = new QVBox(); -var tw = new QTabWidget(vbox); -var okButton = new QToolButton(vbox); +var vbox = new TQVBox(); +var tw = new TQTabWidget(vbox); +var okButton = new TQToolButton(vbox); okButton.text = "Ok"; -var c1 = new QToolButton( tw ); -var c2 = new QToolButton( tw ); +var c1 = new TQToolButton( tw ); +var c2 = new TQToolButton( tw ); function tabchanged(q) { alert( "Tab Changed, " + q.text ); @@ -19,7 +19,7 @@ c2.text = "Tab2's button"; tw.addTab(c1, "1"); tw.addTab(c2, "2"); -vbox.connect(tw, "currentChanged(QWidget*)", this, "tabchanged"); +vbox.connect(tw, "currentChanged(TQWidget*)", this, "tabchanged"); vbox.connect(okButton, "clicked()", this, "exit"); vbox.show(); |