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/current/kpartpart.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/current/kpartpart.kmdr')
-rwxr-xr-x | kommander/examples/current/kpartpart.kmdr | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/kommander/examples/current/kpartpart.kmdr b/kommander/examples/current/kpartpart.kmdr index 928ecdc6..0763fada 100755 --- a/kommander/examples/current/kpartpart.kmdr +++ b/kommander/examples/current/kpartpart.kmdr @@ -42,16 +42,16 @@ </property> <property name="text"> <string>You can click the test button to insert text -If you are loaded in the parent frame you can click the rocket icon on the toolbar or use the function menu to select "Talk to KPart". +If you are loaded in the tqparent frame you can click the rocket icon on the toolbar or use the function menu to select "Talk to KPart". -Any Kommander program can be run as a KPart. You need the KPart plugin to load KParts. Note that running Kommander programs as KParts is not without risks. For one thing you loose DCOP in the parent and the old parser ceases to work. Additionally since all widgets are accecssible from the parent and duplicate widget name can cause a Kommander lock up. +Any Kommander program can be run as a KPart. You need the KPart plugin to load KParts. Note that running Kommander programs as KParts is not without risks. For one thing you loose DCOP in the tqparent and the old parser ceases to work. Additionally since all widgets are accecssible from the tqparent and duplicate widget name can cause a Kommander lock up. -Because of all this and the fact that the Actions on the unsupported MainWindow are incompatible it is impossible for the child to talk with the parent. On this dialog we use a timer on the parent polling the child for requests every 100 ms. It's a crude hack but it does yield acceptable behavior. +Because of all this and the fact that the Actions on the unsupported MainWindow are incompatible it is impossible for the child to talk with the tqparent. On this dialog we use a timer on the tqparent polling the child for requests every 100 ms. It's a crude hack but it does yield acceptable behavior. This demo is intended to run both kpartwmframe.kmdr and kpartpart.kmdr. </string> </property> </widget> - <widget class="QLayoutWidget" row="1" column="0"> + <widget class=TQLAYOUTWIDGET_OBJECT_NAME_STRING row="1" column="0"> <property name="name"> <cstring>Layout70</cstring> </property> @@ -75,7 +75,7 @@ This demo is intended to run both kpartwmframe.kmdr and kpartpart.kmdr. </string <property name="sizeType"> <enum>Expanding</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>75</width> <height>0</height> @@ -97,7 +97,7 @@ endif if _LOADED == true then kpmessage.setText("You have mail") else - message_info("this only works when loaded as a KPart in it's parent window") + message_info("this only works when loaded as a KPart in it's tqparent window") endif </string> </stringlist> @@ -122,7 +122,7 @@ endif </property> <property name="associations" stdset="0"> <stringlist> - <string>message_info("We just got a message from our parent frame!", "Parent called Child")</string> + <string>message_info("We just got a message from our tqparent frame!", "Parent called Child")</string> </stringlist> </property> </widget> @@ -156,7 +156,7 @@ endif <property name="sizeType"> <enum>Expanding</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>40</width> <height>0</height> @@ -167,5 +167,5 @@ endif </widget> </grid> </widget> -<layoutdefaults spacing="6" margin="11"/> +<tqlayoutdefaults spacing="6" margin="11"/> </UI> |