summaryrefslogtreecommitdiffstats
path: root/kommander/examples/tutorial/strings.kmdr
diff options
context:
space:
mode:
Diffstat (limited to 'kommander/examples/tutorial/strings.kmdr')
-rw-r--r--kommander/examples/tutorial/strings.kmdr18
1 files changed, 9 insertions, 9 deletions
diff --git a/kommander/examples/tutorial/strings.kmdr b/kommander/examples/tutorial/strings.kmdr
index 1ef6a953..464f84ae 100644
--- a/kommander/examples/tutorial/strings.kmdr
+++ b/kommander/examples/tutorial/strings.kmdr
@@ -49,13 +49,13 @@
<b>Last 5 chars:</b> @String.right("@LineEdit1", 5)<br>
<b>Chars from 6th to 10th:</b> @String.mid("@LineEdit1", 6, 5)<br>
<b>Remove spaces:</b> @String.remove("@LineEdit1", " ")<br>
-<b>Replace spaces with *</b>: @String.replace("@LineEdit1", " ", *)<br>
+<b>Replace spaces with *</b>: @String.tqreplace("@LineEdit1", " ", *)<br>
<b>Uppercase:</b> @String.upper("@LineEdit1")<br>
<b>Lowercase:</b> @String.lower("@LineEdit1")<br>
<b>Is a number?:</b> @Array.value(Bool, @String.isNumber("@LineEdit1"))<br>
<b>Is empty?</b> @Array.value(Bool, @String.isEmpty("@LineEdit1"))<br>
-<b>Contains "Kommander"?:</b> @String.contains("@LineEdit1", "Kommander")<br>
-<b>Position of "Kommander":</b> @String.find("@LineEdit1", "Kommander")<br>
+<b>Contains "Kommander"?:</b> @String.tqcontains("@LineEdit1", "Kommander")<br>
+<b>Position of "Kommander":</b> @String.tqfind("@LineEdit1", "Kommander")<br>
<b>Compare with "Kommander":</b>
@execBegin
if [ @String.compare("@LineEdit1", "Kommander") -lt 0 ];then
@@ -81,7 +81,7 @@ fi
</stringlist>
</property>
</widget>
- <widget class="QLayoutWidget" row="0" column="0">
+ <widget class=TQLAYOUTWIDGET_OBJECT_NAME_STRING row="0" column="0">
<property name="name">
<cstring>Layout1</cstring>
</property>
@@ -95,7 +95,7 @@ fi
<property name="spacing">
<number>6</number>
</property>
- <widget class="QLabel">
+ <widget class=TQLABEL_OBJECT_NAME_STRING>
<property name="name">
<cstring>TextLabel1</cstring>
</property>
@@ -121,7 +121,7 @@ fi
</widget>
</hbox>
</widget>
- <widget class="QLayoutWidget" row="2" column="0">
+ <widget class=TQLAYOUTWIDGET_OBJECT_NAME_STRING row="2" column="0">
<property name="name">
<cstring>Layout2</cstring>
</property>
@@ -145,7 +145,7 @@ fi
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>30</width>
<height>0</height>
@@ -178,7 +178,7 @@ fi
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>30</width>
<height>0</height>
@@ -202,5 +202,5 @@ fi
<tabstop>ExecButton1</tabstop>
<tabstop>TextEdit1</tabstop>
</tabstops>
-<layoutdefaults spacing="6" margin="11"/>
+<tqlayoutdefaults spacing="6" margin="11"/>
</UI>