summaryrefslogtreecommitdiffstats
path: root/kjsembed/docs/examples/connect
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/connect
parent1a96c45b22d01378202d9dc7ed9c47acd30f966e (diff)
downloadtdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.tar.gz
tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.zip
Initial TQt conversion
Diffstat (limited to 'kjsembed/docs/examples/connect')
-rw-r--r--kjsembed/docs/examples/connect/connect.js2
-rw-r--r--kjsembed/docs/examples/connect/connect.ui18
2 files changed, 10 insertions, 10 deletions
diff --git a/kjsembed/docs/examples/connect/connect.js b/kjsembed/docs/examples/connect/connect.js
index aa56a366..28cec189 100644
--- a/kjsembed/docs/examples/connect/connect.js
+++ b/kjsembed/docs/examples/connect/connect.js
@@ -38,7 +38,7 @@ var de = top.child('d');
top.connect( ve, 'clicked()', obj, 'func_void' );
top.connect( be, 'toggled(bool)', obj, 'func_bool' );
top.connect( ie, 'valueChanged(int)', obj, 'func_int' );
-top.connect( se, 'textChanged(const QString&)', obj, 'func_string' );
+top.connect( se, 'textChanged(const TQString&)', obj, 'func_string' );
top.connect( de, 'valueChanged(double)', obj, 'func_double' );
top.show();
diff --git a/kjsembed/docs/examples/connect/connect.ui b/kjsembed/docs/examples/connect/connect.ui
index 5b172a8d..5c33501e 100644
--- a/kjsembed/docs/examples/connect/connect.ui
+++ b/kjsembed/docs/examples/connect/connect.ui
@@ -1,6 +1,6 @@
<!DOCTYPE UI><UI version="3.1" stdsetdef="1">
<class>demo</class>
-<widget class="QWidget">
+<widget class="TQWidget">
<property name="name">
<cstring>demo</cstring>
</property>
@@ -24,7 +24,7 @@
<cstring>s</cstring>
</property>
</widget>
- <widget class="QLabel" row="0" column="2">
+ <widget class="TQLabel" row="0" column="2">
<property name="name">
<cstring>textLabel2_2</cstring>
</property>
@@ -50,12 +50,12 @@
<cstring>d</cstring>
</property>
</widget>
- <widget class="QSpinBox" row="4" column="1">
+ <widget class="TQSpinBox" row="4" column="1">
<property name="name">
<cstring>i</cstring>
</property>
</widget>
- <widget class="QLabel" row="0" column="0" rowspan="1" colspan="2">
+ <widget class="TQLabel" row="0" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>textLabel1_2</cstring>
</property>
@@ -79,7 +79,7 @@
<set>AlignCenter</set>
</property>
</widget>
- <widget class="QCheckBox" row="2" column="0" rowspan="1" colspan="2">
+ <widget class="TQCheckBox" row="2" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>b</cstring>
</property>
@@ -87,7 +87,7 @@
<string>Bool</string>
</property>
</widget>
- <widget class="QPushButton" row="1" column="0" rowspan="1" colspan="2">
+ <widget class="TQPushButton" row="1" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>v</cstring>
</property>
@@ -95,7 +95,7 @@
<string>Void</string>
</property>
</widget>
- <widget class="QLabel" row="5" column="0">
+ <widget class="TQLabel" row="5" column="0">
<property name="name">
<cstring>textLabel3</cstring>
</property>
@@ -103,7 +103,7 @@
<string>Double:</string>
</property>
</widget>
- <widget class="QLabel" row="4" column="0">
+ <widget class="TQLabel" row="4" column="0">
<property name="name">
<cstring>textLabel2</cstring>
</property>
@@ -111,7 +111,7 @@
<string>Int:</string>
</property>
</widget>
- <widget class="QLabel" row="3" column="0">
+ <widget class="TQLabel" row="3" column="0">
<property name="name">
<cstring>textLabel1</cstring>
</property>