summaryrefslogtreecommitdiffstats
path: root/kjsembed/docs/examples/madminute
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/madminute
parent1a96c45b22d01378202d9dc7ed9c47acd30f966e (diff)
downloadtdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.tar.gz
tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.zip
Initial TQt conversion
Diffstat (limited to 'kjsembed/docs/examples/madminute')
-rw-r--r--kjsembed/docs/examples/madminute/configdialog.ui32
-rw-r--r--kjsembed/docs/examples/madminute/helpdialog.ui8
-rwxr-xr-xkjsembed/docs/examples/madminute/madminute.js2
-rw-r--r--kjsembed/docs/examples/madminute/madminute.ui28
4 files changed, 35 insertions, 35 deletions
diff --git a/kjsembed/docs/examples/madminute/configdialog.ui b/kjsembed/docs/examples/madminute/configdialog.ui
index 3760c11d..968c9b1f 100644
--- a/kjsembed/docs/examples/madminute/configdialog.ui
+++ b/kjsembed/docs/examples/madminute/configdialog.ui
@@ -1,6 +1,6 @@
<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
<class>configDialog</class>
-<widget class="QDialog">
+<widget class="TQDialog">
<property name="name">
<cstring>configDialog</cstring>
</property>
@@ -25,7 +25,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLabel" row="0" column="0">
+ <widget class="TQLabel" row="0" column="0">
<property name="name">
<cstring>textLabel1</cstring>
</property>
@@ -55,7 +55,7 @@
<enum>Horizontal</enum>
</property>
</widget>
- <widget class="QLayoutWidget" row="2" column="0">
+ <widget class="TQLayoutWidget" row="2" column="0">
<property name="name">
<cstring>layout10</cstring>
</property>
@@ -63,7 +63,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>textLabel2</cstring>
</property>
@@ -71,7 +71,7 @@
<string>Operations:</string>
</property>
</widget>
- <widget class="QCheckBox">
+ <widget class="TQCheckBox">
<property name="name">
<cstring>addition</cstring>
</property>
@@ -79,7 +79,7 @@
<string>Addition</string>
</property>
</widget>
- <widget class="QCheckBox">
+ <widget class="TQCheckBox">
<property name="name">
<cstring>subtraction</cstring>
</property>
@@ -89,7 +89,7 @@
</widget>
</hbox>
</widget>
- <widget class="QLayoutWidget" row="3" column="0">
+ <widget class="TQLayoutWidget" row="3" column="0">
<property name="name">
<cstring>layout11</cstring>
</property>
@@ -97,7 +97,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>textLabel3</cstring>
</property>
@@ -105,7 +105,7 @@
<string>Time:</string>
</property>
</widget>
- <widget class="QSpinBox">
+ <widget class="TQSpinBox">
<property name="name">
<cstring>time</cstring>
</property>
@@ -124,7 +124,7 @@
</widget>
</hbox>
</widget>
- <widget class="QLayoutWidget" row="6" column="0">
+ <widget class="TQLayoutWidget" row="6" column="0">
<property name="name">
<cstring>Layout1</cstring>
</property>
@@ -138,7 +138,7 @@
<property name="spacing">
<number>6</number>
</property>
- <widget class="QPushButton">
+ <widget class="TQPushButton">
<property name="name">
<cstring>buttonHelp</cstring>
</property>
@@ -169,7 +169,7 @@
</size>
</property>
</spacer>
- <widget class="QPushButton">
+ <widget class="TQPushButton">
<property name="name">
<cstring>buttonOk</cstring>
</property>
@@ -186,7 +186,7 @@
<bool>true</bool>
</property>
</widget>
- <widget class="QPushButton">
+ <widget class="TQPushButton">
<property name="name">
<cstring>buttonCancel</cstring>
</property>
@@ -202,7 +202,7 @@
</widget>
</hbox>
</widget>
- <widget class="QLayoutWidget" row="4" column="0">
+ <widget class="TQLayoutWidget" row="4" column="0">
<property name="name">
<cstring>layout10</cstring>
</property>
@@ -212,7 +212,7 @@
</property>
</hbox>
</widget>
- <widget class="QLayoutWidget" row="5" column="0">
+ <widget class="TQLayoutWidget" row="5" column="0">
<property name="name">
<cstring>layout11</cstring>
</property>
@@ -220,7 +220,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>textLabel1_2_2</cstring>
</property>
diff --git a/kjsembed/docs/examples/madminute/helpdialog.ui b/kjsembed/docs/examples/madminute/helpdialog.ui
index baa1a4e4..a5e78d51 100644
--- a/kjsembed/docs/examples/madminute/helpdialog.ui
+++ b/kjsembed/docs/examples/madminute/helpdialog.ui
@@ -1,6 +1,6 @@
<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
<class>helpDialog</class>
-<widget class="QDialog">
+<widget class="TQDialog">
<property name="name">
<cstring>helpDialog</cstring>
</property>
@@ -25,7 +25,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QTextBrowser">
+ <widget class="TQTextBrowser">
<property name="name">
<cstring>helpText</cstring>
</property>
@@ -36,7 +36,7 @@ This is a small mathdrill program to help students become faster at simple addit
Once the application is configured the student can start the drill by pressing the "&lt;b&gt;Go&lt;/b&gt;" button or "&lt;tt&gt;Ctrl+G&lt;/tt&gt;". Once the drill is started the student may answer the questions as fast as they can and press the "&lt;tt&gt;Enter&lt;/tt&gt; key to submit the answer. The drill will notify the student when it is complete.</string>
</property>
</widget>
- <widget class="QLayoutWidget">
+ <widget class="TQLayoutWidget">
<property name="name">
<cstring>layout9</cstring>
</property>
@@ -61,7 +61,7 @@ Once the application is configured the student can start the drill by pressing t
</size>
</property>
</spacer>
- <widget class="QPushButton">
+ <widget class="TQPushButton">
<property name="name">
<cstring>pushButton7</cstring>
</property>
diff --git a/kjsembed/docs/examples/madminute/madminute.js b/kjsembed/docs/examples/madminute/madminute.js
index a2762cde..97debe4d 100755
--- a/kjsembed/docs/examples/madminute/madminute.js
+++ b/kjsembed/docs/examples/madminute/madminute.js
@@ -15,7 +15,7 @@ var Subtraction = 2;
var config = new Config("madminute");
config.setGroup("Game Options");
// Timer
-var timer = new QTimer(this);
+var timer = new TQTimer(this);
// Current Argument 1
var arg1 = 0;
// Current Argument 2
diff --git a/kjsembed/docs/examples/madminute/madminute.ui b/kjsembed/docs/examples/madminute/madminute.ui
index dadab4d8..1154312a 100644
--- a/kjsembed/docs/examples/madminute/madminute.ui
+++ b/kjsembed/docs/examples/madminute/madminute.ui
@@ -1,7 +1,7 @@
<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
<class>MainWindow</class>
<author>Ian Reinhart Geiser &lt;geiseri@kde.org&gt;</author>
-<widget class="QMainWindow">
+<widget class="TQMainWindow">
<property name="name">
<cstring>MadMinute</cstring>
</property>
@@ -23,7 +23,7 @@
<property name="margin">
<number>3</number>
</property>
- <widget class="QLayoutWidget">
+ <widget class="TQLayoutWidget">
<property name="name">
<cstring>layout8</cstring>
</property>
@@ -31,7 +31,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>textLabel3</cstring>
</property>
@@ -63,7 +63,7 @@
<enum>Horizontal</enum>
</property>
</widget>
- <widget class="QLayoutWidget">
+ <widget class="TQLayoutWidget">
<property name="name">
<cstring>layout7</cstring>
</property>
@@ -71,7 +71,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLayoutWidget">
+ <widget class="TQLayoutWidget">
<property name="name">
<cstring>layout6</cstring>
</property>
@@ -79,7 +79,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLayoutWidget">
+ <widget class="TQLayoutWidget">
<property name="name">
<cstring>layout5</cstring>
</property>
@@ -87,7 +87,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>question</cstring>
</property>
@@ -106,7 +106,7 @@
</size>
</property>
</widget>
- <widget class="QLineEdit">
+ <widget class="TQLineEdit">
<property name="name">
<cstring>answer</cstring>
</property>
@@ -125,7 +125,7 @@
</widget>
</hbox>
</widget>
- <widget class="QLayoutWidget">
+ <widget class="TQLayoutWidget">
<property name="name">
<cstring>layout3</cstring>
</property>
@@ -133,7 +133,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>textLabel1</cstring>
</property>
@@ -144,7 +144,7 @@
<set>AlignVCenter</set>
</property>
</widget>
- <widget class="QProgressBar">
+ <widget class="TQProgressBar">
<property name="name">
<cstring>timeleft</cstring>
</property>
@@ -172,7 +172,7 @@
</widget>
</hbox>
</widget>
- <widget class="QLayoutWidget">
+ <widget class="TQLayoutWidget">
<property name="name">
<cstring>layout6_2</cstring>
</property>
@@ -180,7 +180,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>textLabel1_2</cstring>
</property>
@@ -208,7 +208,7 @@
</size>
</property>
</spacer>
- <widget class="QLCDNumber">
+ <widget class="TQLCDNumber">
<property name="name">
<cstring>correct</cstring>
</property>