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/kmdrtools/dcoptool-oldparser.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/kmdrtools/dcoptool-oldparser.kmdr')
-rwxr-xr-x | kommander/kmdrtools/dcoptool-oldparser.kmdr | 74 |
1 files changed, 37 insertions, 37 deletions
diff --git a/kommander/kmdrtools/dcoptool-oldparser.kmdr b/kommander/kmdrtools/dcoptool-oldparser.kmdr index e6a8ec54..0cbf0f5d 100755 --- a/kommander/kmdrtools/dcoptool-oldparser.kmdr +++ b/kommander/kmdrtools/dcoptool-oldparser.kmdr @@ -61,7 +61,7 @@ openfiles(QString,QString,QString)") associatedText(QString) cellText(QString,int,int) checked(QString) -children(QString,bool) +tqchildren(QString,bool) clear(QString) count(QString) currentColumn(QString) @@ -105,14 +105,14 @@ append(QString,QString)") @setGlobal(KommanderMessage,"") @setGlobal(String,"length(QString) -contains(QString,QString) -find(QString,QString,int) -findRev(QString,QString,int) +tqcontains(QString,QString) +tqfind(QString,QString,int) +tqfindRev(QString,QString,int) left(QString,int) right(QString,int) mid(QString,int,int) remove(QString,QString) -replace(QString,QString,QString) +tqreplace(QString,QString,QString) upper(QString) lower(QString) compare(QString,QString) @@ -131,7 +131,7 @@ args(QString,QString,QString,QString)") <string></string> </stringlist> </property> - <widget class="QLayoutWidget"> + <widget class=TQLAYOUTWIDGET_OBJECT_NAME_STRING> <property name="name"> <cstring>Layout9</cstring> </property> @@ -224,7 +224,7 @@ args(QString,QString,QString,QString)") </stringlist> </property> </widget> - <widget class="QLabel"> + <widget class=TQLABEL_OBJECT_NAME_STRING> <property name="name"> <cstring>TextLabel4</cstring> </property> @@ -247,7 +247,7 @@ args(QString,QString,QString,QString)") </widget> </vbox> </widget> - <widget class="QLayoutWidget"> + <widget class=TQLAYOUTWIDGET_OBJECT_NAME_STRING> <property name="name"> <cstring>Layout10</cstring> </property> @@ -269,7 +269,7 @@ args(QString,QString,QString,QString)") <property name="spacing"> <number>6</number> </property> - <widget class="QLabel"> + <widget class=TQLABEL_OBJECT_NAME_STRING> <property name="name"> <cstring>TextLabel3</cstring> </property> @@ -326,7 +326,7 @@ args(QString,QString,QString,QString)") </widget> </vbox> </widget> - <widget class="QLayoutWidget"> + <widget class=TQLAYOUTWIDGET_OBJECT_NAME_STRING> <property name="name"> <cstring>Layout11</cstring> </property> @@ -382,7 +382,7 @@ args(QString,QString,QString,QString)") <property name="sizeType"> <enum>Expanding</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>80</width> <height>0</height> @@ -400,9 +400,9 @@ args(QString,QString,QString,QString)") <stringlist> <string>@switch(@String.mid(@dcopstr.selection, 1, 4)) @case(dcop) - @setGlobal("outstring","@dcopstr.selection @window.selection, @branch.selection, "@proto.selection", @String.mid(@wname.selection, 0, @String.find(@wname.selection, " ", ))@param1@param2@param3@param4)") + @setGlobal("outstring","@dcopstr.selection @window.selection, @branch.selection, "@proto.selection", @String.mid(@wname.selection, 0, @String.tqfind(@wname.selection, " ", ))@param1@param2@param3@param4)") @case(cop) - @setGlobal("outstring","@dcopstr.selection @window.selection @branch.selection @global(short) @String.mid(@wname.selection, 0, @String.find(@wname.selection, " ", ))@param1@param2@param3@param4") + @setGlobal("outstring","@dcopstr.selection @window.selection @branch.selection @global(short) @String.mid(@wname.selection, 0, @String.tqfind(@wname.selection, " ", ))@param1@param2@param3@param4") @case(*) @setGlobal("outstring","@dcopstr.selection - not found") @end @@ -443,7 +443,7 @@ args(QString,QString,QString,QString)") <property name="sizeType"> <enum>Expanding</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>120</width> <height>0</height> @@ -578,7 +578,7 @@ fi </stringlist> </property> </widget> - <widget class="QLabel" row="0" column="0"> + <widget class=TQLABEL_OBJECT_NAME_STRING row="0" column="0"> <property name="name"> <cstring>TextLabel2</cstring> </property> @@ -594,7 +594,7 @@ fi </item> <item> <property name="text"> - <string>"kmdr-executor-"+parentPid</string> + <string>"kmdr-executor-"+tqparentPid</string> </property> </item> <property name="name"> @@ -645,9 +645,9 @@ fi @end @setGlobal(pdlg,@exec(kdialog --menu "Select a dialog other than pid @pid to parse" @global(kdlg))) @#@exec(kdialog --msgbox "@global(_KDDIR)\n") -@# dcop kmdr-executor-32730 KommanderIf children kmdr-executor-32730 1 +@# dcop kmdr-executor-32730 KommanderIf tqchildren kmdr-executor-32730 1 @wname.clear -@setGlobal(items,@dcop(@global(pdlg), KommanderIf, "children(QString,bool)", @global(pdlg), 1 )) +@setGlobal(items,@dcop(@global(pdlg), KommanderIf, "tqchildren(QString,bool)", @global(pdlg), 1 )) @setGlobal(iwd,"") @forEach(i, @global(items)) @setGlobal(iwd, "@global(iwd)@i (@dcop(@global(pdlg), KommanderIf, "type(QString)", @i))\n") @@ -731,7 +731,7 @@ fi <property name="sizeType"> <enum>Expanding</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>111</width> <height>0</height> @@ -789,14 +789,14 @@ fi @setGlobal(PARM4,"") @setGlobal(short,checked) @setGlobal(DESC,"Returns 1 for checked boxes, 0 for unchecked.") -@case(DCOP::children(QString,bool)) +@case(DCOP::tqchildren(QString,bool)) @setGlobal(enWidget,1) @setGlobal(PARM1,"recursive") @setGlobal(PARM2,"") @setGlobal(PARM3,"") @setGlobal(PARM4,"") - @setGlobal(short,children) - @setGlobal(DESC,"Returns the list of child widgets contained in the parent widget. Set the <i>recursive</i> parameter to <i>true</i> to include widgets contained by child widgets.") + @setGlobal(short,tqchildren) + @setGlobal(DESC,"Returns the list of child widgets contained in the tqparent widget. Set the <i>recursive</i> parameter to <i>true</i> to include widgets contained by child widgets.") @case(DCOP::clear(QString)) @setGlobal(enWidget,1) @setGlobal(PARM1,"") @@ -1117,14 +1117,14 @@ fi @setGlobal(PARM4,"") @setGlobal(short,dcopid) @setGlobal(DESC,"Returns DCOP identifier of current process. This is shorthand for <i>kmdr-executor-&#064;pid</i>.") -@case(Kommander::parentPid(QString,bool)) +@case(Kommander::tqparentPid(QString,bool)) @setGlobal(enWidget,1) @setGlobal(PARM1,"editable") @setGlobal(PARM2,"") @setGlobal(PARM3,"") @setGlobal(PARM4,"") - @setGlobal(short,parentPid) - @setGlobal(DESC,"Returns the pid of the parent Kommander window.") + @setGlobal(short,tqparentPid) + @setGlobal(DESC,"Returns the pid of the tqparent Kommander window.") @case(Kommander::debug(QString)) @setGlobal(enWidget,0) @setGlobal(PARM1,"text") @@ -1276,7 +1276,7 @@ fi @setGlobal(PARM3,"function") @setGlobal(PARM4,"args") @setGlobal(short,dcop) - @setGlobal(DESC,"Creates a new widget with the specified type and as the child of parent.") + @setGlobal(DESC,"Creates a new widget with the specified type and as the child of tqparent.") @case(Kommander::dcop(QString,QString,QString,QString)) @setGlobal(enWidget,0) @setGlobal(PARM1,"id") @@ -1445,29 +1445,29 @@ fi @setGlobal(PARM4,"") @setGlobal(short,length) @setGlobal(DESC,"Returns number of chars in the string.") -@case(String::contains(QString,QString)) +@case(String::tqcontains(QString,QString)) @setGlobal(enWidget,0) @setGlobal(PARM1,"string") @setGlobal(PARM2,"substring") @setGlobal(PARM3,"") @setGlobal(PARM4,"") - @setGlobal(short,contains) + @setGlobal(short,tqcontains) @setGlobal(DESC,"Checks if the the string contains the given substring.") -@case(String::find(QString,QString,int)) +@case(String::tqfind(QString,QString,int)) @setGlobal(enWidget,0) @setGlobal(PARM1,"string") @setGlobal(PARM2,"sought") @setGlobal(PARM3,"index") @setGlobal(PARM4,"") - @setGlobal(short,find) + @setGlobal(short,tqfind) @setGlobal(DESC,"Returns the position of a substring in the string, or -1 if it is not found.") -@case(String::findRev(QString,QString,int)) +@case(String::tqfindRev(QString,QString,int)) @setGlobal(enWidget,0) @setGlobal(PARM1,"string") @setGlobal(PARM2,"sought") @setGlobal(PARM3,"index") @setGlobal(PARM4,"") - @setGlobal(short,findRev) + @setGlobal(short,tqfindRev) @setGlobal(DESC,"Returns the position of a substring in the string, or -1 if it is not found. String is searched backwards") @case(String::left(QString,int)) @setGlobal(enWidget,0) @@ -1501,13 +1501,13 @@ fi @setGlobal(PARM4,"") @setGlobal(short,remove) @setGlobal(DESC,"Removes all occurrences of given substring.") -@case(String::replace(QString,QString,QString)) +@case(String::tqreplace(QString,QString,QString)) @setGlobal(enWidget,0) @setGlobal(PARM1,"string") @setGlobal(PARM2,"substring") @setGlobal(PARM3,"replacement") @setGlobal(PARM4,"") - @setGlobal(short,replace) + @setGlobal(short,tqreplace) @setGlobal(DESC,"Replaces all occurrences of the given substring with the given replacement.") @case(String::upper(QString)) @setGlobal(enWidget,0) @@ -1820,7 +1820,7 @@ fi associatedText(QString) cellText(QString,int,int) checked(QString) -children(QString,bool) +tqchildren(QString,bool) clear(QString) count(QString) currentColumn(QString) @@ -1879,7 +1879,7 @@ setEditable(QString,bool)") <property name="associations" stdset="0"> <stringlist> <string>@##### put the following in @wfilter checked ######### -@setGlobal(start,@expr(@String.find("@wname.selection", " ")+2)) +@setGlobal(start,@expr(@String.tqfind("@wname.selection", " ")+2)) @setGlobal(stop,@expr(@String.length("@wname.selection")-1)) @setGlobal(length,@expr(@global(stop)-@global(start))) @setGlobal(teststr, @String.lower(@String.mid("@wname.selection", @global(start), @global(length)))) @@ -2121,5 +2121,5 @@ setColumnCaption(QString,int,QString)") <tabstop>window</tabstop> <tabstop>widgetName</tabstop> </tabstops> -<layoutdefaults spacing="6" margin="11"/> +<tqlayoutdefaults spacing="6" margin="11"/> </UI> |