diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-16 19:02:47 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-16 19:02:47 +0000 |
commit | e985f7e545f4739493965aad69bbecb136dc9346 (patch) | |
tree | 54afd409d8acd6202dd8ab611d24e78c28e4c0a0 /kommander/examples/tutorial/strings.kmdr | |
parent | f7670c198945adc3b95ad69a959fe5f8ae55b493 (diff) | |
download | tdewebdev-e985f7e545f4739493965aad69bbecb136dc9346.tar.gz tdewebdev-e985f7e545f4739493965aad69bbecb136dc9346.zip |
TQt4 port kdewebdev
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1237029 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kommander/examples/tutorial/strings.kmdr')
-rw-r--r-- | kommander/examples/tutorial/strings.kmdr | 18 |
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> |