summaryrefslogtreecommitdiffstats
path: root/kjsembed/tests/test_qtimeedit2.js
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/tests/test_qtimeedit2.js
parent1a96c45b22d01378202d9dc7ed9c47acd30f966e (diff)
downloadtdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.tar.gz
tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.zip
Initial TQt conversion
Diffstat (limited to 'kjsembed/tests/test_qtimeedit2.js')
-rw-r--r--kjsembed/tests/test_qtimeedit2.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/kjsembed/tests/test_qtimeedit2.js b/kjsembed/tests/test_qtimeedit2.js
index 825fa10f..c69e24c3 100644
--- a/kjsembed/tests/test_qtimeedit2.js
+++ b/kjsembed/tests/test_qtimeedit2.js
@@ -1,13 +1,13 @@
-var vbox=new QVBox();
-var te=new QTimeEdit(vbox);
-var okButton=new QToolButton(vbox);
+var vbox=new TQVBox();
+var te=new TQTimeEdit(vbox);
+var okButton=new TQToolButton(vbox);
okButton.text="Ok";
function TimeChanged(q) {
alert("Time Changed: " +q);
}
-vbox.connect(te, "valueChanged(const QTime&)", this, "TimeChanged");
+vbox.connect(te, "valueChanged(const TQTime&)", this, "TimeChanged");
vbox.connect(okButton, "clicked()", this, "exit");
vbox.show();
application.exec();