diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-25 13:59:20 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-26 10:27:28 +0900 |
commit | 74d7a64994b02e7d880f4e9960f653b2510d48d8 (patch) | |
tree | 24cc990fbaa09028b97544fc8c9da64f9bb549fb /kommander/kmdrtools/dcoptool-oldparser.kmdr | |
parent | 5df35638d9979618b39681efcda8bd05d7c96cf8 (diff) | |
download | tdewebdev-4b645e7e11b9e054a48744dfcf99bf0fc0a2cb0a.tar.gz tdewebdev-4b645e7e11b9e054a48744dfcf99bf0fc0a2cb0a.zip |
Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* versionr14.1.1
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 0580616e20b68c764cdbbd9a01c9dd21f99766d4)
Diffstat (limited to 'kommander/kmdrtools/dcoptool-oldparser.kmdr')
-rw-r--r-- | kommander/kmdrtools/dcoptool-oldparser.kmdr | 748 |
1 files changed, 374 insertions, 374 deletions
diff --git a/kommander/kmdrtools/dcoptool-oldparser.kmdr b/kommander/kmdrtools/dcoptool-oldparser.kmdr index 6a21755a..d3a00bc7 100644 --- a/kommander/kmdrtools/dcoptool-oldparser.kmdr +++ b/kommander/kmdrtools/dcoptool-oldparser.kmdr @@ -30,98 +30,98 @@ @TextParam4.setVisible(false) @param4.setVisible(false) -@setGlobal(Array,"values(QString) -keys(QString) -clear(QString) -count(QString) -count(QString) -remove(QString,QString) -remove(QString,QString) -fromString(QString,QString) -toString(QString) -toString(QString) -toString(QString) -toString(QString) -toString(QString)") +@setGlobal(Array,"values(TQString) +keys(TQString) +clear(TQString) +count(TQString) +count(TQString) +remove(TQString,TQString) +remove(TQString,TQString) +fromString(TQString,TQString) +toString(TQString) +toString(TQString) +toString(TQString) +toString(TQString) +toString(TQString)") -@setGlobal(File,"read(QString) -write(QString,QString) -append(QString,QString)") +@setGlobal(File,"read(TQString) +write(TQString,TQString) +append(TQString,TQString)") -@setGlobal(Input,"text(QString,QString,QString) -password(QString,QString) -value(QString,QString,int,int,int,int) -double(QString,QString,double,double,double,double) -openfile(QString,QString,QString) -savefile(QString,QString,QString) -directory(QString,QString,QString) -openfiles(QString,QString,QString)") +@setGlobal(Input,"text(TQString,TQString,TQString) +password(TQString,TQString) +value(TQString,TQString,int,int,int,int) +double(TQString,TQString,double,double,double,double) +openfile(TQString,TQString,TQString) +savefile(TQString,TQString,TQString) +directory(TQString,TQString,TQString) +openfiles(TQString,TQString,TQString)") -@setGlobal(DCOP,"addUniqueItem(QString,QString) -associatedText(QString) -cellText(QString,int,int) -checked(QString) -children(QString,bool) -clear(QString) -count(QString) -currentColumn(QString) -currentItem(QString) -currentRow(QString) -execute(QString) -findItem(QString,QString) -insertColumn(QString,int,int) -insertItem(QString,QString,int) -insertItems(QString,QStringList,int) -insertRow(QString,int,int) -item(QString,int) -itemDepth(QString,int) -itemPath(QString,int) -removeColumn(QString,int,int) -removeItem(QString,int) -removeRow(QString,int,int) -selection(QString) -setAssociatedText(QString,QString) -setEnabled(QString,bool) -setCellText(QString,int,int,QString) -setCellWidget(QString,int,int,QString) -cellWidget(QString,int,int) -setChecked(QString,bool) -setColumnCaption(QString,int,QString) -setCurrentItem(QString,int) -insertTab(QString,QString,int) -setMaximum(QString,int) -setPixmap(QString,QString,int) -setRowCaption(QString,int,QString) -setSelection(QString,QString) -setText(QString,QString) -setVisible(QString,bool) -type(QString) -setEditable(QString,bool)") +@setGlobal(DCOP,"addUniqueItem(TQString,TQString) +associatedText(TQString) +cellText(TQString,int,int) +checked(TQString) +children(TQString,bool) +clear(TQString) +count(TQString) +currentColumn(TQString) +currentItem(TQString) +currentRow(TQString) +execute(TQString) +findItem(TQString,TQString) +insertColumn(TQString,int,int) +insertItem(TQString,TQString,int) +insertItems(TQString,QStringList,int) +insertRow(TQString,int,int) +item(TQString,int) +itemDepth(TQString,int) +itemPath(TQString,int) +removeColumn(TQString,int,int) +removeItem(TQString,int) +removeRow(TQString,int,int) +selection(TQString) +setAssociatedText(TQString,TQString) +setEnabled(TQString,bool) +setCellText(TQString,int,int,TQString) +setCellWidget(TQString,int,int,TQString) +cellWidget(TQString,int,int) +setChecked(TQString,bool) +setColumnCaption(TQString,int,TQString) +setCurrentItem(TQString,int) +insertTab(TQString,TQString,int) +setMaximum(TQString,int) +setPixmap(TQString,TQString,int) +setRowCaption(TQString,int,TQString) +setSelection(TQString,TQString) +setText(TQString,TQString) +setVisible(TQString,bool) +type(TQString) +setEditable(TQString,bool)") -@setGlobal(File,"read(QString) -write(QString,QString) -append(QString,QString)") +@setGlobal(File,"read(TQString) +write(TQString,TQString) +append(TQString,TQString)") @setGlobal(KommanderMessage,"") -@setGlobal(String,"length(QString) -contains(QString,QString) -find(QString,QString,int) -findRev(QString,QString,int) -left(QString,int) -right(QString,int) -mid(QString,int,int) -remove(QString,QString) -replace(QString,QString,QString) -upper(QString) -lower(QString) -compare(QString,QString) -isEmpty(QString) -isNumber(QString) -section(QString,QString,int) -args(QString,QString,QString,QString) -args(QString,QString,QString,QString) -args(QString,QString,QString,QString)") +@setGlobal(String,"length(TQString) +contains(TQString,TQString) +find(TQString,TQString,int) +findRev(TQString,TQString,int) +left(TQString,int) +right(TQString,int) +mid(TQString,int,int) +remove(TQString,TQString) +replace(TQString,TQString,TQString) +upper(TQString) +lower(TQString) +compare(TQString,TQString) +isEmpty(TQString) +isNumber(TQString) +section(TQString,TQString,int) +args(TQString,TQString,TQString,TQString) +args(TQString,TQString,TQString,TQString) +args(TQString,TQString,TQString,TQString)") @functiongroup.setCurrentItem(1) @@ -647,10 +647,10 @@ fi @#@exec(kdialog --msgbox "@global(_KDDIR)\n") @# dcop kmdr-executor-32730 KommanderIf children kmdr-executor-32730 1 @wname.clear -@setGlobal(items,@dcop(@global(pdlg), KommanderIf, "children(QString,bool)", @global(pdlg), 1 )) +@setGlobal(items,@dcop(@global(pdlg), KommanderIf, "children(TQString,bool)", @global(pdlg), 1 )) @setGlobal(iwd,"") @forEach(i, @global(items)) - @setGlobal(iwd, "@global(iwd)@i (@dcop(@global(pdlg), KommanderIf, "type(QString)", @i))\n") + @setGlobal(iwd, "@global(iwd)@i (@dcop(@global(pdlg), KommanderIf, "type(TQString)", @i))\n") @end @wname.insertItems(@global(iwd),0)</string> </stringlist> @@ -757,7 +757,7 @@ fi <string>@##### put the following in @setfunction ######### @# set up dialog based on function @switch(@functiongroup.selection::@proto.selection) -@case(DCOP::addUniqueItem(QString,QString)) +@case(DCOP::addUniqueItem(TQString,TQString)) @setGlobal(enWidget,1) @setGlobal(PARM1,"item") @setGlobal(PARM2,"") @@ -765,7 +765,7 @@ fi @setGlobal(PARM4,"") @setGlobal(short,addUniqueItem) @setGlobal(DESC,"Inserts the item if it will not create a duplicate.") -@case(DCOP::associatedText(QString)) +@case(DCOP::associatedText(TQString)) @setGlobal(enWidget,1) @setGlobal(PARM1,"") @setGlobal(PARM2,"") @@ -773,7 +773,7 @@ fi @setGlobal(PARM4,"") @setGlobal(short,associatedText) @setGlobal(DESC,"Returns scripts associated with widget. This is an advanced feature that would not be commonly used.") -@case(DCOP::cellText(QString,int,int)) +@case(DCOP::cellText(TQString,int,int)) @setGlobal(enWidget,1) @setGlobal(PARM1,"row") @setGlobal(PARM2,"column") @@ -781,7 +781,7 @@ fi @setGlobal(PARM4,"") @setGlobal(short,cellText) @setGlobal(DESC,"Returns text of a cell in a table.") -@case(DCOP::checked(QString)) +@case(DCOP::checked(TQString)) @setGlobal(enWidget,1) @setGlobal(PARM1,"") @setGlobal(PARM2,"") @@ -789,7 +789,7 @@ fi @setGlobal(PARM4,"") @setGlobal(short,checked) @setGlobal(DESC,"Returns 1 for checked boxes, 0 for unchecked.") -@case(DCOP::children(QString,bool)) +@case(DCOP::children(TQString,bool)) @setGlobal(enWidget,1) @setGlobal(PARM1,"recursive") @setGlobal(PARM2,"") @@ -797,7 +797,7 @@ fi @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.") -@case(DCOP::clear(QString)) +@case(DCOP::clear(TQString)) @setGlobal(enWidget,1) @setGlobal(PARM1,"") @setGlobal(PARM2,"") @@ -805,7 +805,7 @@ fi @setGlobal(PARM4,"") @setGlobal(short,clear) @setGlobal(DESC,"Removes all content from the widget.") -@case(DCOP::count(QString)) +@case(DCOP::count(TQString)) @setGlobal(enWidget,1) @setGlobal(PARM1,"") @setGlobal(PARM2,"") @@ -813,7 +813,7 @@ fi @setGlobal(PARM4,"") @setGlobal(short,count) @setGlobal(DESC,"Returns number of items in a widget such as combobox or listbox.") -@case(DCOP::currentColumn(QString)) +@case(DCOP::currentColumn(TQString)) @setGlobal(enWidget,1) @setGlobal(PARM1,"") @setGlobal(PARM2,"") @@ -821,7 +821,7 @@ fi @setGlobal(PARM4,"") @setGlobal(short,currentColumn) @setGlobal(DESC,"Returns index of current column.") -@case(DCOP::currentItem(QString)) +@case(DCOP::currentItem(TQString)) @setGlobal(enWidget,1) @setGlobal(PARM1,"") @setGlobal(PARM2,"") @@ -829,7 +829,7 @@ fi @setGlobal(PARM4,"") @setGlobal(short,currentItem) @setGlobal(DESC,"Returns index of current item.") -@case(DCOP::currentRow(QString)) +@case(DCOP::currentRow(TQString)) @setGlobal(enWidget,1) @setGlobal(PARM1,"") @setGlobal(PARM2,"") @@ -837,7 +837,7 @@ fi @setGlobal(PARM4,"") @setGlobal(short,currentRow) @setGlobal(DESC,"Returns index of current row.") -@case(DCOP::execute(QString)) +@case(DCOP::execute(TQString)) @setGlobal(enWidget,1) @setGlobal(PARM1,"") @setGlobal(PARM2,"") @@ -845,7 +845,7 @@ fi @setGlobal(PARM4,"") @setGlobal(short,execute) @setGlobal(DESC,"Executes the script associated with the widget. With the new parser the execute method can take one or more arguments.") -@case(DCOP::findItem(QString,QString)) +@case(DCOP::findItem(TQString,TQString)) @setGlobal(enWidget,1) @setGlobal(PARM1,"item") @setGlobal(PARM2,"") @@ -853,7 +853,7 @@ fi @setGlobal(PARM4,"") @setGlobal(short,findItem) @setGlobal(DESC,"Returns the index of an item with the given text.") -@case(DCOP::insertColumn(QString,int,int)) +@case(DCOP::insertColumn(TQString,int,int)) @setGlobal(enWidget,1) @setGlobal(PARM1,"column") @setGlobal(PARM2,"count") @@ -861,7 +861,7 @@ fi @setGlobal(PARM4,"") @setGlobal(short,insertColumn) @setGlobal(DESC,"Inserts new column &#040;or <i>count</i> columns&#041; at <i>column</i> position.") -@case(DCOP::insertItem(QString,QString,int)) +@case(DCOP::insertItem(TQString,TQString,int)) @setGlobal(enWidget,1) @setGlobal(PARM1,"item") @setGlobal(PARM2,"index") @@ -869,7 +869,7 @@ fi @setGlobal(PARM4,"") @setGlobal(short,insertItem) @setGlobal(DESC,"Inserts item at <i>index</i> position.") -@case(DCOP::insertItems(QString,QStringList,int)) +@case(DCOP::insertItems(TQString,QStringList,int)) @setGlobal(enWidget,1) @setGlobal(PARM1,"items") @setGlobal(PARM2,"index") @@ -877,7 +877,7 @@ fi @setGlobal(PARM4,"") @setGlobal(short,insertItems) @setGlobal(DESC,"Inserts multiple items &#040;EOL-separated&#041; at <i>index</i> position.") -@case(DCOP::insertRow(QString,int,int)) +@case(DCOP::insertRow(TQString,int,int)) @setGlobal(enWidget,1) @setGlobal(PARM1,"row") @setGlobal(PARM2,"count") @@ -885,7 +885,7 @@ fi @setGlobal(PARM4,"") @setGlobal(short,insertRow) @setGlobal(DESC,"Inserts new row &#040;or <i>count</i> rows&#041; at <i>row</i> position.") -@case(DCOP::item(QString,int)) +@case(DCOP::item(TQString,int)) @setGlobal(enWidget,1) @setGlobal(PARM1,"index") @setGlobal(PARM2,"") @@ -893,7 +893,7 @@ fi @setGlobal(PARM4,"") @setGlobal(short,item) @setGlobal(DESC,"Returns the text of the item at the given index.") -@case(DCOP::itemDepth(QString,int)) +@case(DCOP::itemDepth(TQString,int)) @setGlobal(enWidget,1) @setGlobal(PARM1,"index") @setGlobal(PARM2,"") @@ -901,7 +901,7 @@ fi @setGlobal(PARM4,"") @setGlobal(short,itemDepth) @setGlobal(DESC,"Returns the depth of the current item in the tree. Root items have depth 0.") -@case(DCOP::itemPath(QString,int)) +@case(DCOP::itemPath(TQString,int)) @setGlobal(enWidget,1) @setGlobal(PARM1,"index") @setGlobal(PARM2,"") @@ -909,7 +909,7 @@ fi @setGlobal(PARM4,"") @setGlobal(short,itemPath) @setGlobal(DESC,"Returns the slash-separated path to the given item in the tree.") -@case(DCOP::removeColumn(QString,int,int)) +@case(DCOP::removeColumn(TQString,int,int)) @setGlobal(enWidget,1) @setGlobal(PARM1,"column") @setGlobal(PARM2,"count") @@ -917,7 +917,7 @@ fi @setGlobal(PARM4,"") @setGlobal(short,removeColumn) @setGlobal(DESC,"Removes the column &#040;or <i>count</i> consecutive columns&#041; with the given index.") -@case(DCOP::removeItem(QString,int)) +@case(DCOP::removeItem(TQString,int)) @setGlobal(enWidget,1) @setGlobal(PARM1,"index") @setGlobal(PARM2,"") @@ -925,7 +925,7 @@ fi @setGlobal(PARM4,"") @setGlobal(short,removeItem) @setGlobal(DESC,"Removes the item with the given index.") -@case(DCOP::removeRow(QString,int,int)) +@case(DCOP::removeRow(TQString,int,int)) @setGlobal(enWidget,1) @setGlobal(PARM1,"row") @setGlobal(PARM2,"count") @@ -933,7 +933,7 @@ fi @setGlobal(PARM4,"") @setGlobal(short,removeRow) @setGlobal(DESC,"Removes the row &#040;or <i>count</i> consecutive rows&#041; with the given index.") -@case(DCOP::selection(QString)) +@case(DCOP::selection(TQString)) @setGlobal(enWidget,1) @setGlobal(PARM1,"") @setGlobal(PARM2,"") @@ -941,7 +941,7 @@ fi @setGlobal(PARM4,"") @setGlobal(short,selection) @setGlobal(DESC,"Returns selected text or text of current item.\nIn case of Table widgets, returns the selection coordinates, separated by commas in TopRow,LeftColumn,BottomRow,RightColumn form. ") -@case(DCOP::setAssociatedText(QString,QString)) +@case(DCOP::setAssociatedText(TQString,TQString)) @setGlobal(enWidget,1) @setGlobal(PARM1,"text") @setGlobal(PARM2,"") @@ -949,7 +949,7 @@ fi @setGlobal(PARM4,"") @setGlobal(short,setAssociatedText) @setGlobal(DESC,"Sets scripts associated with widget. This is an advanced feature that would not be commonly used.") -@case(DCOP::setEnabled(QString,bool)) +@case(DCOP::setEnabled(TQString,bool)) @setGlobal(enWidget,1) @setGlobal(PARM1,"enabled") @setGlobal(PARM2,"") @@ -957,7 +957,7 @@ fi @setGlobal(PARM4,"") @setGlobal(short,setEnabled) @setGlobal(DESC,"Enables or disables widget.") -@case(DCOP::setCellText(QString,int,int,QString)) +@case(DCOP::setCellText(TQString,int,int,TQString)) @setGlobal(enWidget,1) @setGlobal(PARM1,"row") @setGlobal(PARM2,"col") @@ -965,7 +965,7 @@ fi @setGlobal(PARM4,"") @setGlobal(short,setCellText) @setGlobal(DESC,"Sets text of a cell in a table.") -@case(DCOP::setCellWidget(QString,int,int,QString)) +@case(DCOP::setCellWidget(TQString,int,int,TQString)) @setGlobal(enWidget,1) @setGlobal(PARM1,"row") @setGlobal(PARM2,"col") @@ -973,7 +973,7 @@ fi @setGlobal(PARM4,"") @setGlobal(short,setCellWidget) @setGlobal(DESC,"Inserts a widget into a cell of a table.") -@case(DCOP::cellWidget(QString,int,int)) +@case(DCOP::cellWidget(TQString,int,int)) @setGlobal(enWidget,1) @setGlobal(PARM1,"row") @setGlobal(PARM2,"col") @@ -981,7 +981,7 @@ fi @setGlobal(PARM4,"") @setGlobal(short,cellWidget) @setGlobal(DESC,"Returns the name of a widget inserted into a cell, or an empty string if the cell contains no widget or an unknown widget type.") -@case(DCOP::setChecked(QString,bool)) +@case(DCOP::setChecked(TQString,bool)) @setGlobal(enWidget,1) @setGlobal(PARM1,"checked") @setGlobal(PARM2,"") @@ -989,7 +989,7 @@ fi @setGlobal(PARM4,"") @setGlobal(short,setChecked) @setGlobal(DESC,"Sets/unsets checkbox.") -@case(DCOP::setColumnCaption(QString,int,QString)) +@case(DCOP::setColumnCaption(TQString,int,TQString)) @setGlobal(enWidget,1) @setGlobal(PARM1,"column") @setGlobal(PARM2,"text") @@ -997,7 +997,7 @@ fi @setGlobal(PARM4,"") @setGlobal(short,setColumnCaption) @setGlobal(DESC,"Sets caption of the column <i>column</i>.") -@case(DCOP::setCurrentItem(QString,int)) +@case(DCOP::setCurrentItem(TQString,int)) @setGlobal(enWidget,1) @setGlobal(PARM1,"index") @setGlobal(PARM2,"") @@ -1005,7 +1005,7 @@ fi @setGlobal(PARM4,"") @setGlobal(short,setCurrentItem) @setGlobal(DESC,"Selects the item at the specified index. Indexes are zero based.") -@case(DCOP::insertTab(QString,QString,int)) +@case(DCOP::insertTab(TQString,TQString,int)) @setGlobal(enWidget,1) @setGlobal(PARM1,"label") @setGlobal(PARM2,"index") @@ -1013,7 +1013,7 @@ fi @setGlobal(PARM4,"") @setGlobal(short,insertTab) @setGlobal(DESC,"Inserts a tab to the tabwidget with the specified label at the given index. Indexes are zero based.") -@case(DCOP::setMaximum(QString,int)) +@case(DCOP::setMaximum(TQString,int)) @setGlobal(enWidget,1) @setGlobal(PARM1,"value") @setGlobal(PARM2,"") @@ -1021,7 +1021,7 @@ fi @setGlobal(PARM4,"") @setGlobal(short,setMaximum) @setGlobal(DESC,"Sets maximum numeric value") -@case(DCOP::setPixmap(QString,QString,int)) +@case(DCOP::setPixmap(TQString,TQString,int)) @setGlobal(enWidget,1) @setGlobal(PARM1,"iconName") @setGlobal(PARM2,"index") @@ -1029,7 +1029,7 @@ fi @setGlobal(PARM4,"") @setGlobal(short,setPixmap) @setGlobal(DESC,"Sets pixmap at the given index to the specified icon. Use <i>index = -1</i> to set the pixmap for all items.") -@case(DCOP::setRowCaption(QString,int,QString)) +@case(DCOP::setRowCaption(TQString,int,TQString)) @setGlobal(enWidget,1) @setGlobal(PARM1,"row") @setGlobal(PARM2,"text") @@ -1037,7 +1037,7 @@ fi @setGlobal(PARM4,"") @setGlobal(short,setRowCaption) @setGlobal(DESC,"Sets caption of the row <i>row</i>.") -@case(DCOP::setSelection(QString,QString)) +@case(DCOP::setSelection(TQString,TQString)) @setGlobal(enWidget,1) @setGlobal(PARM1,"text") @setGlobal(PARM2,"") @@ -1045,7 +1045,7 @@ fi @setGlobal(PARM4,"") @setGlobal(short,setSelection) @setGlobal(DESC,"Selects given text or select item containing given text.") -@case(DCOP::setText(QString,QString)) +@case(DCOP::setText(TQString,TQString)) @setGlobal(enWidget,1) @setGlobal(PARM1,"text") @setGlobal(PARM2,"") @@ -1053,7 +1053,7 @@ fi @setGlobal(PARM4,"") @setGlobal(short,setText) @setGlobal(DESC,"Sets widget's content.") -@case(DCOP::setVisible(QString,bool)) +@case(DCOP::setVisible(TQString,bool)) @setGlobal(enWidget,1) @setGlobal(PARM1,"visible") @setGlobal(PARM2,"") @@ -1061,7 +1061,7 @@ fi @setGlobal(PARM4,"") @setGlobal(short,setVisible) @setGlobal(DESC,"Shows/hides widget.") -@case(DCOP::type(QString)) +@case(DCOP::type(TQString)) @setGlobal(enWidget,1) @setGlobal(PARM1,"") @setGlobal(PARM2,"") @@ -1069,7 +1069,7 @@ fi @setGlobal(PARM4,"") @setGlobal(short,type) @setGlobal(DESC,"Returns type&#040;class&#041; of widget.") -@case(DCOP::setEditable(QString,bool)) +@case(DCOP::setEditable(TQString,bool)) @setGlobal(enWidget,1) @setGlobal(PARM1,"editable") @setGlobal(PARM2,"") @@ -1077,7 +1077,7 @@ fi @setGlobal(PARM4,"") @setGlobal(short,setEditable) @setGlobal(DESC,"Makes the widget editable or read only, depending on the editable argument.") -@case(Kommander::setEditable(QString,bool)) +@case(Kommander::setEditable(TQString,bool)) @setGlobal(enWidget,1) @setGlobal(PARM1,"editable") @setGlobal(PARM2,"") @@ -1085,7 +1085,7 @@ fi @setGlobal(PARM4,"") @setGlobal(short,setEditable) @setGlobal(DESC,"Returns current widget's content. This was required inside widget A to return widget A content when requested by widget B. The new method is to use &#064;A.text inside B instead of just &#064;A if you just want the unaltered text.") -@case(Kommander::setEditable(QString,bool)) +@case(Kommander::setEditable(TQString,bool)) @setGlobal(enWidget,1) @setGlobal(PARM1,"editable") @setGlobal(PARM2,"") @@ -1093,7 +1093,7 @@ fi @setGlobal(PARM4,"") @setGlobal(short,setEditable) @setGlobal(DESC,"Returns selected text or text of current item. This is deprecated for <i>&#064;mywidget.selected</i>.") -@case(Kommander::setEditable(QString,bool)) +@case(Kommander::setEditable(TQString,bool)) @setGlobal(enWidget,1) @setGlobal(PARM1,"editable") @setGlobal(PARM2,"") @@ -1101,7 +1101,7 @@ fi @setGlobal(PARM4,"") @setGlobal(short,setEditable) @setGlobal(DESC,"Does nothing. This is useful if you request a CheckBox or RadioButton to return a value where a state, typically the unchecked state, has no value. The &#064;null prevents an error indicating it is empty.") -@case(Kommander::pid(QString,bool)) +@case(Kommander::pid(TQString,bool)) @setGlobal(enWidget,1) @setGlobal(PARM1,"editable") @setGlobal(PARM2,"") @@ -1109,7 +1109,7 @@ fi @setGlobal(PARM4,"") @setGlobal(short,pid) @setGlobal(DESC,"Returns the pid &#040;process ID&#041; of the current process.") -@case(Kommander::dcopid(QString,bool)) +@case(Kommander::dcopid(TQString,bool)) @setGlobal(enWidget,1) @setGlobal(PARM1,"editable") @setGlobal(PARM2,"") @@ -1117,7 +1117,7 @@ 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::parentPid(TQString,bool)) @setGlobal(enWidget,1) @setGlobal(PARM1,"editable") @setGlobal(PARM2,"") @@ -1125,7 +1125,7 @@ fi @setGlobal(PARM4,"") @setGlobal(short,parentPid) @setGlobal(DESC,"Returns the pid of the parent Kommander window.") -@case(Kommander::debug(QString)) +@case(Kommander::debug(TQString)) @setGlobal(enWidget,0) @setGlobal(PARM1,"text") @setGlobal(PARM2,"") @@ -1133,7 +1133,7 @@ fi @setGlobal(PARM4,"") @setGlobal(short,debug) @setGlobal(DESC,"Writes <i>text</i> on stderr.") -@case(Kommander::echo(QString)) +@case(Kommander::echo(TQString)) @setGlobal(enWidget,0) @setGlobal(PARM1,"text") @setGlobal(PARM2,"") @@ -1141,7 +1141,7 @@ fi @setGlobal(PARM4,"") @setGlobal(short,echo) @setGlobal(DESC,"Writes <i>text</i> on standard output.") -@case(Kommander::echo(QString)) +@case(Kommander::echo(TQString)) @setGlobal(enWidget,0) @setGlobal(PARM1,"text") @setGlobal(PARM2,"") @@ -1149,7 +1149,7 @@ fi @setGlobal(PARM4,"") @setGlobal(short,echo) @setGlobal(DESC,"Executes a script block. Bash is used if no shell is given. It is primarily for use in non-button widgets where script actions are not expected. Full path is not required for the shell which may be useful for portability. <p><i>If this is used inside a button it allows alternate script languages to be used and will return a value to the main script, which may be unexpected.</i>") -@case(Kommander::env(QString)) +@case(Kommander::env(TQString)) @setGlobal(enWidget,0) @setGlobal(PARM1,"variable") @setGlobal(PARM2,"") @@ -1157,7 +1157,7 @@ fi @setGlobal(PARM4,"") @setGlobal(short,env) @setGlobal(DESC,"Returns value of an environment &#040;shell&#041; variable. Do not use <i>$</i> in the name. For example, <i>&#064;env&#040;PATH&#041;</i>.") -@case(Kommander::exec(QString)) +@case(Kommander::exec(TQString)) @setGlobal(enWidget,0) @setGlobal(PARM1,"command") @setGlobal(PARM2,"") @@ -1165,7 +1165,7 @@ fi @setGlobal(PARM4,"") @setGlobal(short,exec) @setGlobal(DESC,"Executes an external shell command.") -@case(Kommander::exec(QString)) +@case(Kommander::exec(TQString)) @setGlobal(enWidget,0) @setGlobal(PARM1,"command") @setGlobal(PARM2,"") @@ -1173,7 +1173,7 @@ fi @setGlobal(PARM4,"") @setGlobal(short,exec) @setGlobal(DESC,"Parses an expression and returns computed value.") -@case(Kommander::forEach(QString,QString)) +@case(Kommander::forEach(TQString,TQString)) @setGlobal(enWidget,0) @setGlobal(PARM1,"variable") @setGlobal(PARM2,"items") @@ -1181,7 +1181,7 @@ fi @setGlobal(PARM4,"") @setGlobal(short,forEach) @setGlobal(DESC,"Executes loop: values from <i>items</i> list &#040;passed as EOL-separated string&#041; are assigned to the variable. <br><b>Old</b><br> <i>&#064;forEach&#040;i,A\\nB\\nC\\n&#041;<br> &#064;# &#064;i=A<br>&#064;end</i><br><b>New</b><br><i>foreach i in MyArray do<br> //i = key, MyArray[i] = val<br>end ") -@case(Kommander::for(QString,int,int,int)) +@case(Kommander::for(TQString,int,int,int)) @setGlobal(enWidget,0) @setGlobal(PARM1,"variable") @setGlobal(PARM2,"start") @@ -1189,7 +1189,7 @@ fi @setGlobal(PARM4,"step") @setGlobal(short,for) @setGlobal(DESC,"Executes loop: variable is set to <i>start</i> and is increased by <i>step</i> each time loop is executed. Execution stops when variable becomes larger then <i>end</i>. <br><b>Old</b><br><i>&#064;for&#040;i,1,10,1&#041;<br> &#064;# &#064;i=1<br>&#064;endif</i><br><b>New</b><br><i>for i=0 to 20 step 5 do<br> debug&#040;i&#041;<br>end</i>.") -@case(Kommander::for(QString,int,int,int)) +@case(Kommander::for(TQString,int,int,int)) @setGlobal(enWidget,0) @setGlobal(PARM1,"variable") @setGlobal(PARM2,"start") @@ -1197,7 +1197,7 @@ fi @setGlobal(PARM4,"step") @setGlobal(short,for) @setGlobal(DESC,"Returns the value of a global variable.") -@case(Kommander::i18n(QString)) +@case(Kommander::i18n(TQString)) @setGlobal(enWidget,0) @setGlobal(PARM1,"variable") @setGlobal(PARM2,"") @@ -1205,7 +1205,7 @@ fi @setGlobal(PARM4,"") @setGlobal(short,i18n) @setGlobal(DESC,"Translates the string into the current language. Texts in GUI would be automatically extracted for translation.") -@case(Kommander::if(QString)) +@case(Kommander::if(TQString)) @setGlobal(enWidget,0) @setGlobal(PARM1,"expression") @setGlobal(PARM2,"") @@ -1213,7 +1213,7 @@ fi @setGlobal(PARM4,"") @setGlobal(short,if) @setGlobal(DESC,"Executes block if expression is true &#040;non-zero number or non-empty string.&#041; <p><b>Old</b>Close with <b>&#064;endif</b></p><p><b>New</b><br>if val == true then<br>// do op<br>elseif cond<br>// second chance<br>else<br>// cond failed<br>endif</p>") -@case(Kommander::dialog(QString,QString)) +@case(Kommander::dialog(TQString,TQString)) @setGlobal(enWidget,0) @setGlobal(PARM1,"file") @setGlobal(PARM2,"args") @@ -1221,7 +1221,7 @@ fi @setGlobal(PARM4,"") @setGlobal(short,dialog) @setGlobal(DESC,"Executes another Kommander dialog. Current dialog directory is used if no path is given. Arguments may be given as named arguments which will become global variables in the new dialog. For instance: <i>var=val</i>") -@case(Kommander::readSetting(QString,QString)) +@case(Kommander::readSetting(TQString,TQString)) @setGlobal(enWidget,0) @setGlobal(PARM1,"key") @setGlobal(PARM2,"default") @@ -1229,7 +1229,7 @@ fi @setGlobal(PARM4,"") @setGlobal(short,readSetting) @setGlobal(DESC,"Reads setting from configration file for this dialog.") -@case(Kommander::setGlobal(QString,QString)) +@case(Kommander::setGlobal(TQString,TQString)) @setGlobal(enWidget,0) @setGlobal(PARM1,"variable") @setGlobal(PARM2,"value") @@ -1237,7 +1237,7 @@ fi @setGlobal(PARM4,"") @setGlobal(short,setGlobal) @setGlobal(DESC,"Sets the value of a global variable. Global variables exist for the life of the Kommander window.") -@case(Kommander::writeSetting(QString,QString)) +@case(Kommander::writeSetting(TQString,TQString)) @setGlobal(enWidget,0) @setGlobal(PARM1,"key") @setGlobal(PARM2,"value") @@ -1245,7 +1245,7 @@ fi @setGlobal(PARM4,"") @setGlobal(short,writeSetting) @setGlobal(DESC,"Stores setting in configuration file for this dialog.") -@case(Kommander::writeSetting(QString,QString)) +@case(Kommander::writeSetting(TQString,TQString)) @setGlobal(enWidget,0) @setGlobal(PARM1,"key") @setGlobal(PARM2,"value") @@ -1253,7 +1253,7 @@ fi @setGlobal(PARM4,"") @setGlobal(short,writeSetting) @setGlobal(DESC,"Begin of <b>switch</b> block. Following <b>case</b> values are compared to <i>expression</i>.<p>&#064;switch&#040;&#041;<br>&#064;case&#040;&#041;<br>&#064;end") -@case(Kommander::dcop(QString,QString,QString,QString)) +@case(Kommander::dcop(TQString,TQString,TQString,TQString)) @setGlobal(enWidget,0) @setGlobal(PARM1,"id") @setGlobal(PARM2,"interface") @@ -1261,7 +1261,7 @@ fi @setGlobal(PARM4,"args") @setGlobal(short,dcop) @setGlobal(DESC,"Executes an external DCOP call.") -@case(Kommander::dcop(QString,QString,QString,QString)) +@case(Kommander::dcop(TQString,TQString,TQString,TQString)) @setGlobal(enWidget,0) @setGlobal(PARM1,"id") @setGlobal(PARM2,"interface") @@ -1269,7 +1269,7 @@ fi @setGlobal(PARM4,"args") @setGlobal(short,dcop) @setGlobal(DESC,"Adds a comment to EOL that Kommander will not parse") -@case(Kommander::dcop(QString,QString,QString,QString)) +@case(Kommander::dcop(TQString,TQString,TQString,TQString)) @setGlobal(enWidget,0) @setGlobal(PARM1,"id") @setGlobal(PARM2,"interface") @@ -1277,7 +1277,7 @@ fi @setGlobal(PARM4,"args") @setGlobal(short,dcop) @setGlobal(DESC,"Creates a new widget with the specified type and as the child of parent.") -@case(Kommander::dcop(QString,QString,QString,QString)) +@case(Kommander::dcop(TQString,TQString,TQString,TQString)) @setGlobal(enWidget,0) @setGlobal(PARM1,"id") @setGlobal(PARM2,"interface") @@ -1285,7 +1285,7 @@ fi @setGlobal(PARM4,"args") @setGlobal(short,dcop) @setGlobal(DESC,"Returns true if there is a widget with the passed name, false otherwise.") -@case(Kommander::dcop(QString,QString,QString,QString)) +@case(Kommander::dcop(TQString,TQString,TQString,TQString)) @setGlobal(enWidget,0) @setGlobal(PARM1,"id") @setGlobal(PARM2,"interface") @@ -1293,7 +1293,7 @@ fi @setGlobal(PARM4,"args") @setGlobal(short,dcop) @setGlobal(DESC,"Connects the signal of sender with the slot of the receiver") -@case(Kommander::dcop(QString,QString,QString,QString)) +@case(Kommander::dcop(TQString,TQString,TQString,TQString)) @setGlobal(enWidget,0) @setGlobal(PARM1,"id") @setGlobal(PARM2,"interface") @@ -1301,7 +1301,7 @@ fi @setGlobal(PARM4,"args") @setGlobal(short,dcop) @setGlobal(DESC,"Disconnects the signal of sender from the slot of the receiver") -@case(Kommander::dcop(QString,QString,QString,QString)) +@case(Kommander::dcop(TQString,TQString,TQString,TQString)) @setGlobal(enWidget,0) @setGlobal(PARM1,"id") @setGlobal(PARM2,"interface") @@ -1309,7 +1309,7 @@ fi @setGlobal(PARM4,"args") @setGlobal(short,dcop) @setGlobal(DESC,"Exits script execution and returns") -@case(Kommander::dcop(QString,QString,QString,QString)) +@case(Kommander::dcop(TQString,TQString,TQString,TQString)) @setGlobal(enWidget,0) @setGlobal(PARM1,"id") @setGlobal(PARM2,"interface") @@ -1317,7 +1317,7 @@ fi @setGlobal(PARM4,"args") @setGlobal(short,dcop) @setGlobal(DESC,"Exits the current block of a while, for or foreach loop") -@case(Kommander::dcop(QString,QString,QString,QString)) +@case(Kommander::dcop(TQString,TQString,TQString,TQString)) @setGlobal(enWidget,0) @setGlobal(PARM1,"id") @setGlobal(PARM2,"interface") @@ -1325,7 +1325,7 @@ fi @setGlobal(PARM4,"args") @setGlobal(short,dcop) @setGlobal(DESC,"Exit a step and return to the beginning of a loop") -@case(Kommander::dcop(QString,QString,QString,QString)) +@case(Kommander::dcop(TQString,TQString,TQString,TQString)) @setGlobal(enWidget,0) @setGlobal(PARM1,"id") @setGlobal(PARM2,"interface") @@ -1333,7 +1333,7 @@ fi @setGlobal(PARM4,"args") @setGlobal(short,dcop) @setGlobal(DESC,"Return from a script, optionaly with a value from the script to the caller") -@case(Array::values(QString)) +@case(Array::values(TQString)) @setGlobal(enWidget,0) @setGlobal(PARM1,"array") @setGlobal(PARM2,"") @@ -1341,7 +1341,7 @@ fi @setGlobal(PARM4,"") @setGlobal(short,values) @setGlobal(DESC,"Returns an EOL-separated list of all values in the array.") -@case(Array::keys(QString)) +@case(Array::keys(TQString)) @setGlobal(enWidget,0) @setGlobal(PARM1,"array") @setGlobal(PARM2,"") @@ -1349,7 +1349,7 @@ fi @setGlobal(PARM4,"") @setGlobal(short,keys) @setGlobal(DESC,"Returns an EOL-separated list of all keys in the array.") -@case(Array::clear(QString)) +@case(Array::clear(TQString)) @setGlobal(enWidget,0) @setGlobal(PARM1,"array") @setGlobal(PARM2,"") @@ -1357,7 +1357,7 @@ fi @setGlobal(PARM4,"") @setGlobal(short,clear) @setGlobal(DESC,"Removes all elements from the array.") -@case(Array::count(QString)) +@case(Array::count(TQString)) @setGlobal(enWidget,0) @setGlobal(PARM1,"array") @setGlobal(PARM2,"") @@ -1365,7 +1365,7 @@ fi @setGlobal(PARM4,"") @setGlobal(short,count) @setGlobal(DESC,"Returns the number of elements in the array.") -@case(Array::count(QString)) +@case(Array::count(TQString)) @setGlobal(enWidget,0) @setGlobal(PARM1,"array") @setGlobal(PARM2,"") @@ -1373,7 +1373,7 @@ fi @setGlobal(PARM4,"") @setGlobal(short,count) @setGlobal(DESC,"Returns the value associated with the given key.") -@case(Array::remove(QString,QString)) +@case(Array::remove(TQString,TQString)) @setGlobal(enWidget,0) @setGlobal(PARM1,"array") @setGlobal(PARM2,"key") @@ -1381,7 +1381,7 @@ fi @setGlobal(PARM4,"") @setGlobal(short,remove) @setGlobal(DESC,"Removes element with the given key from the array.") -@case(Array::remove(QString,QString)) +@case(Array::remove(TQString,TQString)) @setGlobal(enWidget,0) @setGlobal(PARM1,"array") @setGlobal(PARM2,"key") @@ -1389,7 +1389,7 @@ fi @setGlobal(PARM4,"") @setGlobal(short,remove) @setGlobal(DESC,"Adds element with the given key and value to the array") -@case(Array::fromString(QString,QString)) +@case(Array::fromString(TQString,TQString)) @setGlobal(enWidget,0) @setGlobal(PARM1,"array") @setGlobal(PARM2,"string") @@ -1397,7 +1397,7 @@ fi @setGlobal(PARM4,"") @setGlobal(short,fromString) @setGlobal(DESC,"Adds all elements in the string to the array. ") -@case(Array::toString(QString)) +@case(Array::toString(TQString)) @setGlobal(enWidget,0) @setGlobal(PARM1,"array") @setGlobal(PARM2,"") @@ -1405,7 +1405,7 @@ fi @setGlobal(PARM4,"") @setGlobal(short,toString) @setGlobal(DESC,"Returns all elements in the array in <pre>key\\tvalue\\n</pre> format.") -@case(Array::toString(QString)) +@case(Array::toString(TQString)) @setGlobal(enWidget,0) @setGlobal(PARM1,"array") @setGlobal(PARM2,"") @@ -1413,7 +1413,7 @@ fi @setGlobal(PARM4,"") @setGlobal(short,toString) @setGlobal(DESC,"") -@case(Array::toString(QString)) +@case(Array::toString(TQString)) @setGlobal(enWidget,0) @setGlobal(PARM1,"array") @setGlobal(PARM2,"") @@ -1421,7 +1421,7 @@ fi @setGlobal(PARM4,"") @setGlobal(short,toString) @setGlobal(DESC,"") -@case(Array::toString(QString)) +@case(Array::toString(TQString)) @setGlobal(enWidget,0) @setGlobal(PARM1,"array") @setGlobal(PARM2,"") @@ -1429,7 +1429,7 @@ fi @setGlobal(PARM4,"") @setGlobal(short,toString) @setGlobal(DESC,"") -@case(Array::toString(QString)) +@case(Array::toString(TQString)) @setGlobal(enWidget,0) @setGlobal(PARM1,"array") @setGlobal(PARM2,"") @@ -1437,7 +1437,7 @@ fi @setGlobal(PARM4,"") @setGlobal(short,toString) @setGlobal(DESC,"") -@case(String::length(QString)) +@case(String::length(TQString)) @setGlobal(enWidget,0) @setGlobal(PARM1,"string") @setGlobal(PARM2,"") @@ -1445,7 +1445,7 @@ fi @setGlobal(PARM4,"") @setGlobal(short,length) @setGlobal(DESC,"Returns number of chars in the string.") -@case(String::contains(QString,QString)) +@case(String::contains(TQString,TQString)) @setGlobal(enWidget,0) @setGlobal(PARM1,"string") @setGlobal(PARM2,"substring") @@ -1453,7 +1453,7 @@ fi @setGlobal(PARM4,"") @setGlobal(short,contains) @setGlobal(DESC,"Checks if the the string contains the given substring.") -@case(String::find(QString,QString,int)) +@case(String::find(TQString,TQString,int)) @setGlobal(enWidget,0) @setGlobal(PARM1,"string") @setGlobal(PARM2,"sought") @@ -1461,7 +1461,7 @@ fi @setGlobal(PARM4,"") @setGlobal(short,find) @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::findRev(TQString,TQString,int)) @setGlobal(enWidget,0) @setGlobal(PARM1,"string") @setGlobal(PARM2,"sought") @@ -1469,7 +1469,7 @@ fi @setGlobal(PARM4,"") @setGlobal(short,findRev) @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)) +@case(String::left(TQString,int)) @setGlobal(enWidget,0) @setGlobal(PARM1,"string") @setGlobal(PARM2,"n") @@ -1477,7 +1477,7 @@ fi @setGlobal(PARM4,"") @setGlobal(short,left) @setGlobal(DESC,"Returns the first <i>n</i> chars of the string.") -@case(String::right(QString,int)) +@case(String::right(TQString,int)) @setGlobal(enWidget,0) @setGlobal(PARM1,"string") @setGlobal(PARM2,"n") @@ -1485,7 +1485,7 @@ fi @setGlobal(PARM4,"") @setGlobal(short,right) @setGlobal(DESC,"Returns the last <i>n</i> chars of the string.") -@case(String::mid(QString,int,int)) +@case(String::mid(TQString,int,int)) @setGlobal(enWidget,0) @setGlobal(PARM1,"string") @setGlobal(PARM2,"start") @@ -1493,7 +1493,7 @@ fi @setGlobal(PARM4,"") @setGlobal(short,mid) @setGlobal(DESC,"Returns <i>n</i> chars of the string, starting from <i>start</i>.") -@case(String::remove(QString,QString)) +@case(String::remove(TQString,TQString)) @setGlobal(enWidget,0) @setGlobal(PARM1,"string") @setGlobal(PARM2,"substring") @@ -1501,7 +1501,7 @@ fi @setGlobal(PARM4,"") @setGlobal(short,remove) @setGlobal(DESC,"Removes all occurrences of given substring.") -@case(String::replace(QString,QString,QString)) +@case(String::replace(TQString,TQString,TQString)) @setGlobal(enWidget,0) @setGlobal(PARM1,"string") @setGlobal(PARM2,"substring") @@ -1509,7 +1509,7 @@ fi @setGlobal(PARM4,"") @setGlobal(short,replace) @setGlobal(DESC,"Replaces all occurrences of the given substring with the given replacement.") -@case(String::upper(QString)) +@case(String::upper(TQString)) @setGlobal(enWidget,0) @setGlobal(PARM1,"string") @setGlobal(PARM2,"") @@ -1517,7 +1517,7 @@ fi @setGlobal(PARM4,"") @setGlobal(short,upper) @setGlobal(DESC,"Converts the string to uppercase.") -@case(String::lower(QString)) +@case(String::lower(TQString)) @setGlobal(enWidget,0) @setGlobal(PARM1,"string") @setGlobal(PARM2,"") @@ -1525,7 +1525,7 @@ fi @setGlobal(PARM4,"") @setGlobal(short,lower) @setGlobal(DESC,"Converts the string to lowercase.") -@case(String::compare(QString,QString)) +@case(String::compare(TQString,TQString)) @setGlobal(enWidget,0) @setGlobal(PARM1,"string1") @setGlobal(PARM2,"string2") @@ -1533,7 +1533,7 @@ fi @setGlobal(PARM4,"") @setGlobal(short,compare) @setGlobal(DESC,"Compares two strings. Returns 0 if they are equal, ") -@case(String::isEmpty(QString)) +@case(String::isEmpty(TQString)) @setGlobal(enWidget,0) @setGlobal(PARM1,"string") @setGlobal(PARM2,"") @@ -1541,7 +1541,7 @@ fi @setGlobal(PARM4,"") @setGlobal(short,isEmpty) @setGlobal(DESC,"Checks if the string is empty.") -@case(String::isNumber(QString)) +@case(String::isNumber(TQString)) @setGlobal(enWidget,0) @setGlobal(PARM1,"string") @setGlobal(PARM2,"") @@ -1549,7 +1549,7 @@ fi @setGlobal(PARM4,"") @setGlobal(short,isNumber) @setGlobal(DESC,"Checks if the string is a valid number.") -@case(String::section(QString,QString,int)) +@case(String::section(TQString,TQString,int)) @setGlobal(enWidget,0) @setGlobal(PARM1,"string") @setGlobal(PARM2,"separator") @@ -1557,7 +1557,7 @@ fi @setGlobal(PARM4,"") @setGlobal(short,section) @setGlobal(DESC,"Returns given section of a string.") -@case(String::args(QString,QString,QString,QString)) +@case(String::args(TQString,TQString,TQString,TQString)) @setGlobal(enWidget,0) @setGlobal(PARM1,"string") @setGlobal(PARM2,"arg1") @@ -1565,7 +1565,7 @@ fi @setGlobal(PARM4,"arg3") @setGlobal(short,args) @setGlobal(DESC,"Returns the given string with %1, %2, %3 replaced with <i>arg1</i>, <i>arg2</i>, <i>arg3</i> accordingly.") -@case(String::args(QString,QString,QString,QString)) +@case(String::args(TQString,TQString,TQString,TQString)) @setGlobal(enWidget,0) @setGlobal(PARM1,"string") @setGlobal(PARM2,"arg1") @@ -1573,7 +1573,7 @@ fi @setGlobal(PARM4,"arg3") @setGlobal(short,args) @setGlobal(DESC,"Convert a string to an integer. If not possible use the default value") -@case(String::args(QString,QString,QString,QString)) +@case(String::args(TQString,TQString,TQString,TQString)) @setGlobal(enWidget,0) @setGlobal(PARM1,"string") @setGlobal(PARM2,"arg1") @@ -1581,7 +1581,7 @@ fi @setGlobal(PARM4,"arg3") @setGlobal(short,args) @setGlobal(DESC,"Convert a string to a double precision floating point value. If not possible use the default value") -@case(File::read(QString)) +@case(File::read(TQString)) @setGlobal(enWidget,0) @setGlobal(PARM1,"") @setGlobal(PARM2,"") @@ -1589,7 +1589,7 @@ fi @setGlobal(PARM4,"") @setGlobal(short,read) @setGlobal(DESC,"Returns content of given file.") -@case(File::write(QString,QString)) +@case(File::write(TQString,TQString)) @setGlobal(enWidget,0) @setGlobal(PARM1,"file") @setGlobal(PARM2,"string") @@ -1597,7 +1597,7 @@ fi @setGlobal(PARM4,"") @setGlobal(short,write) @setGlobal(DESC,"Writes given string to a file.") -@case(File::append(QString,QString)) +@case(File::append(TQString,TQString)) @setGlobal(enWidget,0) @setGlobal(PARM1,"file") @setGlobal(PARM2,"string") @@ -1605,7 +1605,7 @@ fi @setGlobal(PARM4,"") @setGlobal(short,append) @setGlobal(DESC,"Appends given string to the end of a file.") -@case(Input::text(QString,QString,QString)) +@case(Input::text(TQString,TQString,TQString)) @setGlobal(enWidget,0) @setGlobal(PARM1,"caption") @setGlobal(PARM2,"label") @@ -1613,7 +1613,7 @@ fi @setGlobal(PARM4,"") @setGlobal(short,text) @setGlobal(DESC,"Shows text selection dialog. Returns entered text.") -@case(Input::password(QString,QString)) +@case(Input::password(TQString,TQString)) @setGlobal(enWidget,0) @setGlobal(PARM1,"caption") @setGlobal(PARM2,"password") @@ -1621,7 +1621,7 @@ fi @setGlobal(PARM4,"") @setGlobal(short,password) @setGlobal(DESC,"Shows a dialog asking user for password and returns it.") -@case(Input::value(QString,QString,int,int,int,int)) +@case(Input::value(TQString,TQString,int,int,int,int)) @setGlobal(enWidget,0) @setGlobal(PARM1,"caption") @setGlobal(PARM2,"label") @@ -1629,7 +1629,7 @@ fi @setGlobal(PARM4,"min") @setGlobal(short,value) @setGlobal(DESC,"Shows value selection dialog. Returns entered value.") -@case(Input::double(QString,QString,double,double,double,double)) +@case(Input::double(TQString,TQString,double,double,double,double)) @setGlobal(enWidget,0) @setGlobal(PARM1,"caption") @setGlobal(PARM2,"label") @@ -1637,7 +1637,7 @@ fi @setGlobal(PARM4,"min") @setGlobal(short,double) @setGlobal(DESC,"Shows float value selection dialog. Returns entered value.") -@case(Input::openfile(QString,QString,QString)) +@case(Input::openfile(TQString,TQString,TQString)) @setGlobal(enWidget,0) @setGlobal(PARM1,"startdir") @setGlobal(PARM2,"filter") @@ -1645,7 +1645,7 @@ fi @setGlobal(PARM4,"") @setGlobal(short,openfile) @setGlobal(DESC,"Shows existing file selection dialog. Returns selected file.") -@case(Input::savefile(QString,QString,QString)) +@case(Input::savefile(TQString,TQString,TQString)) @setGlobal(enWidget,0) @setGlobal(PARM1,"startdir") @setGlobal(PARM2,"filter") @@ -1653,7 +1653,7 @@ fi @setGlobal(PARM4,"") @setGlobal(short,savefile) @setGlobal(DESC,"Shows save file selection dialog. Returns selected file.") -@case(Input::directory(QString,QString,QString)) +@case(Input::directory(TQString,TQString,TQString)) @setGlobal(enWidget,0) @setGlobal(PARM1,"startdir") @setGlobal(PARM2,"filter") @@ -1661,7 +1661,7 @@ fi @setGlobal(PARM4,"") @setGlobal(short,directory) @setGlobal(DESC,"Shows directory selection dialog. Returns selected directory.") -@case(Input::openfiles(QString,QString,QString)) +@case(Input::openfiles(TQString,TQString,TQString)) @setGlobal(enWidget,0) @setGlobal(PARM1,"startdir") @setGlobal(PARM2,"filter") @@ -1669,7 +1669,7 @@ fi @setGlobal(PARM4,"") @setGlobal(short,openfiles) @setGlobal(DESC,"Shows multiple files selection dialog. Returns EOL-separated list of selected files.") -@case(Message::info(QString,QString)) +@case(Message::info(TQString,TQString)) @setGlobal(enWidget,0) @setGlobal(PARM1,"text") @setGlobal(PARM2,"caption") @@ -1677,7 +1677,7 @@ fi @setGlobal(PARM4,"") @setGlobal(short,info) @setGlobal(DESC,"Shows an information dialog.") -@case(Message::error(QString,QString)) +@case(Message::error(TQString,TQString)) @setGlobal(enWidget,0) @setGlobal(PARM1,"text") @setGlobal(PARM2,"caption") @@ -1685,7 +1685,7 @@ fi @setGlobal(PARM4,"") @setGlobal(short,error) @setGlobal(DESC,"Shows an error dialog.") -@case(Message::warning(QString,QString,QString,QString,QString)) +@case(Message::warning(TQString,TQString,TQString,TQString,TQString)) @setGlobal(enWidget,0) @setGlobal(PARM1,"text") @setGlobal(PARM2,"caption") @@ -1693,7 +1693,7 @@ fi @setGlobal(PARM4,"button2") @setGlobal(short,warning) @setGlobal(DESC,"Shows a warning dialog with up to three buttons. Returns number of selected button.") -@case(Message::question(QString,QString,QString,QString,QString)) +@case(Message::question(TQString,TQString,TQString,TQString,TQString)) @setGlobal(enWidget,0) @setGlobal(PARM1,"text") @setGlobal(PARM2,"caption") @@ -1816,46 +1816,46 @@ fi <property name="associations" stdset="0"> <stringlist> <string>@##### put the following in the @filteroff script ######### -@setGlobal(DCOP,"addUniqueItem(QString,QString) -associatedText(QString) -cellText(QString,int,int) -checked(QString) -children(QString,bool) -clear(QString) -count(QString) -currentColumn(QString) -currentItem(QString) -currentRow(QString) -execute(QString) -findItem(QString,QString) -insertColumn(QString,int,int) -insertItem(QString,QString,int) -insertItems(QString,QStringList,int) -insertRow(QString,int,int) -item(QString,int) -itemDepth(QString,int) -itemPath(QString,int) -removeColumn(QString,int,int) -removeItem(QString,int) -removeRow(QString,int,int) -selection(QString) -setAssociatedText(QString,QString) -setEnabled(QString,bool) -setCellText(QString,int,int,QString) -setCellWidget(QString,int,int,QString) -cellWidget(QString,int,int) -setChecked(QString,bool) -setColumnCaption(QString,int,QString) -setCurrentItem(QString,int) -insertTab(QString,QString,int) -setMaximum(QString,int) -setPixmap(QString,QString,int) -setRowCaption(QString,int,QString) -setSelection(QString,QString) -setText(QString,QString) -setVisible(QString,bool) -type(QString) -setEditable(QString,bool)") +@setGlobal(DCOP,"addUniqueItem(TQString,TQString) +associatedText(TQString) +cellText(TQString,int,int) +checked(TQString) +children(TQString,bool) +clear(TQString) +count(TQString) +currentColumn(TQString) +currentItem(TQString) +currentRow(TQString) +execute(TQString) +findItem(TQString,TQString) +insertColumn(TQString,int,int) +insertItem(TQString,TQString,int) +insertItems(TQString,QStringList,int) +insertRow(TQString,int,int) +item(TQString,int) +itemDepth(TQString,int) +itemPath(TQString,int) +removeColumn(TQString,int,int) +removeItem(TQString,int) +removeRow(TQString,int,int) +selection(TQString) +setAssociatedText(TQString,TQString) +setEnabled(TQString,bool) +setCellText(TQString,int,int,TQString) +setCellWidget(TQString,int,int,TQString) +cellWidget(TQString,int,int) +setChecked(TQString,bool) +setColumnCaption(TQString,int,TQString) +setCurrentItem(TQString,int) +insertTab(TQString,TQString,int) +setMaximum(TQString,int) +setPixmap(TQString,TQString,int) +setRowCaption(TQString,int,TQString) +setSelection(TQString,TQString) +setText(TQString,TQString) +setVisible(TQString,bool) +type(TQString) +setEditable(TQString,bool)") @proto.clear @proto.insertItems(@global(DCOP), 0) @@ -1888,195 +1888,195 @@ setEditable(QString,bool)") @##### put the following in the @filteron script ######### @case(aboutdialog) - @setGlobal(DCOP,"execute(QString)") + @setGlobal(DCOP,"execute(TQString)") @case(buttongroup) - @setGlobal(DCOP,"checked(QString) -setChecked(QString,bool)") + @setGlobal(DCOP,"checked(TQString) +setChecked(TQString,bool)") @case(checkbox) - @setGlobal(DCOP,"setText(QString,QString) -checked(QString) -setChecked(QString,bool)") + @setGlobal(DCOP,"setText(TQString,TQString) +checked(TQString) +setChecked(TQString,bool)") @case(closebutton) - @setGlobal(DCOP,"setText(QString,QString)") + @setGlobal(DCOP,"setText(TQString,TQString)") @case(combobox) - @setGlobal(DCOP,"selection(QString) -setSelection(QString,QString) -currentItem(QString) -setCurrentItem(QString,int) -item(QString,int) -removeItem(QString,int) -insertItem(QString,QString,int) -insertItems(QString,QStringList,int) -addUniqueItem(QString,QString) -clear(QString) -count(QString) -setEditable(QString,bool)") + @setGlobal(DCOP,"selection(TQString) +setSelection(TQString,TQString) +currentItem(TQString) +setCurrentItem(TQString,int) +item(TQString,int) +removeItem(TQString,int) +insertItem(TQString,TQString,int) +insertItems(TQString,QStringList,int) +addUniqueItem(TQString,TQString) +clear(TQString) +count(TQString) +setEditable(TQString,bool)") @case(datepicker) - @setGlobal(DCOP,"setText(QString,QString)") + @setGlobal(DCOP,"setText(TQString,TQString)") @case(dialog) - @setGlobal(DCOP,"setText(QString,QString)") + @setGlobal(DCOP,"setText(TQString,TQString)") @case(execbutton) - @setGlobal(DCOP,"setText(QString,QString) -execute(QString)") + @setGlobal(DCOP,"setText(TQString,TQString) +execute(TQString)") @case(fileselector) - @setGlobal(DCOP,"setText(QString,QString) -selection(QString) -setSelection(QString,QString) -clear(QString)") + @setGlobal(DCOP,"setText(TQString,TQString) +selection(TQString) +setSelection(TQString,TQString) +clear(TQString)") @case(fontdialog) - @setGlobal(DCOP,"execute(QString)") + @setGlobal(DCOP,"execute(TQString)") @case(groupbox) - @setGlobal(DCOP,"setText(QString,QString)") + @setGlobal(DCOP,"setText(TQString,TQString)") @case(konsole) - @setGlobal(DCOP,"setText(QString,QString) -clear(QString) -execute(QString)") + @setGlobal(DCOP,"setText(TQString,TQString) +clear(TQString) +execute(TQString)") @case(label) - @setGlobal(DCOP,"setText(QString,QString) -clear(QString)") + @setGlobal(DCOP,"setText(TQString,TQString) +clear(TQString)") @case(lineedit) - @setGlobal(DCOP,"setText(QString,QString) -selection(QString) -setSelection(QString,QString) -clear(QString) -setEditable(QString,bool)") + @setGlobal(DCOP,"setText(TQString,TQString) +selection(TQString) +setSelection(TQString,TQString) +clear(TQString) +setEditable(TQString,bool)") @case(listbox) - @setGlobal(DCOP,"setText(QString,QString) -selection(QString) -setSelection(QString,QString) -insertItems(QString,QStringList,int) -insertItem(QString,QString,int) -removeItem(QString,int) -clear(QString) -currentItem(QString) -setCurrentItem(QString,int) -item(QString,int) -addUniqueItem(QString,QString) -findItem(QString,QString) -setPixmap(QString,QString,int) -count(QString)") + @setGlobal(DCOP,"setText(TQString,TQString) +selection(TQString) +setSelection(TQString,TQString) +insertItems(TQString,QStringList,int) +insertItem(TQString,TQString,int) +removeItem(TQString,int) +clear(TQString) +currentItem(TQString) +setCurrentItem(TQString,int) +item(TQString,int) +addUniqueItem(TQString,TQString) +findItem(TQString,TQString) +setPixmap(TQString,TQString,int) +count(TQString)") @case(pixmaplabel) - @setGlobal(DCOP,"setText(QString,QString) -clear(QString)") + @setGlobal(DCOP,"setText(TQString,TQString) +clear(TQString)") @case(popupmenu) - @setGlobal(DCOP,"clear(QString) -execute(QString) -item(QString,int) -count(QString)") + @setGlobal(DCOP,"clear(TQString) +execute(TQString) +item(TQString,int) +count(TQString)") @case(progressbar) - @setGlobal(DCOP,"setText(QString,QString) -clear(QString) -setMaximum(QString,int)") + @setGlobal(DCOP,"setText(TQString,TQString) +clear(TQString) +setMaximum(TQString,int)") @case(radiobutton) - @setGlobal(DCOP,"setText(QString,QString) -setChecked(QString,bool) -checked(QString)") + @setGlobal(DCOP,"setText(TQString,TQString) +setChecked(TQString,bool) +checked(TQString)") @case(richtexteditor) - @setGlobal(DCOP,"setText(QString,QString) -clear(QString) -selection(QString) -setEditable(QString,bool)") + @setGlobal(DCOP,"setText(TQString,TQString) +clear(TQString) +selection(TQString) +setEditable(TQString,bool)") @case(scriptobject) - @setGlobal(DCOP,"setText(QString,QString) -clear(QString) -execute(QString) -item(QString,int) -count(QString)") + @setGlobal(DCOP,"setText(TQString,TQString) +clear(TQString) +execute(TQString) +item(TQString,int) +count(TQString)") @case(slider) - @setGlobal(DCOP,"setText(QString,QString) -clear(QString) -setMaximum(QString,int)") + @setGlobal(DCOP,"setText(TQString,TQString) +clear(TQString) +setMaximum(TQString,int)") @case(spinboxint) - @setGlobal(DCOP,"setText(QString,QString) -setMaximum(QString,int)") + @setGlobal(DCOP,"setText(TQString,TQString) +setMaximum(TQString,int)") @case(statusbar) - @setGlobal(DCOP,"setText(QString,QString) -insertItem(QString,QString,int) -removeItem(QString,int) -clear(QString)") + @setGlobal(DCOP,"setText(TQString,TQString) +insertItem(TQString,TQString,int) +removeItem(TQString,int) +clear(TQString)") @case(table) - @setGlobal(DCOP,"currentColumn(QString) -currentRow(QString) -insertColumn(QString,int,int) -insertRow(QString,int,int) -cellText(QString,int,int) -setCellText(QString,int,int,QString) -setCellWidget(QString,int,int,QString) -cellWidget(QString,int,int) -removeRow(QString,int,int) -removeColumn(QString,int,int) -setColumnCaption(QString,int,QString) -setRowCaption(QString,int,QString) -setText(QString,QString) -selection(QString)") + @setGlobal(DCOP,"currentColumn(TQString) +currentRow(TQString) +insertColumn(TQString,int,int) +insertRow(TQString,int,int) +cellText(TQString,int,int) +setCellText(TQString,int,int,TQString) +setCellWidget(TQString,int,int,TQString) +cellWidget(TQString,int,int) +removeRow(TQString,int,int) +removeColumn(TQString,int,int) +setColumnCaption(TQString,int,TQString) +setRowCaption(TQString,int,TQString) +setText(TQString,TQString) +selection(TQString)") @case(tabwidget) - @setGlobal(DCOP,"currentItem(QString) -setCurrentItem(QString,int) -insertTab(QString,QString,int)") + @setGlobal(DCOP,"currentItem(TQString) +setCurrentItem(TQString,int) +insertTab(TQString,TQString,int)") @case(textbrowser) - @setGlobal(DCOP,"setText(QString,QString) -selection(QString) -clear(QString)") + @setGlobal(DCOP,"setText(TQString,TQString) +selection(TQString) +clear(TQString)") @case(textedit) - @setGlobal(DCOP,"setText(QString,QString) -selection(QString) -setSelection(QString,QString) -clear(QString) -setEditable(QString,bool)") + @setGlobal(DCOP,"setText(TQString,TQString) +selection(TQString) +setSelection(TQString,TQString) +clear(TQString) +setEditable(TQString,bool)") @case(timer) - @setGlobal(DCOP,"setText(QString,QString) -execute(QString)") + @setGlobal(DCOP,"setText(TQString,TQString) +execute(TQString)") @case(timewidget) - @setGlobal(DCOP,"setText(QString,QString)") + @setGlobal(DCOP,"setText(TQString,TQString)") @case(toolbox) - @setGlobal(DCOP,"count(QString)") + @setGlobal(DCOP,"count(TQString)") @case(treewidget) - @setGlobal(DCOP,"insertItem(QString,QString,int) -setText(QString,QString) -insertItems(QString,QStringList,int) -selection(QString) -setSelection(QString,QString) -clear(QString) -removeItem(QString,int) -currentItem(QString) -setCurrentItem(QString,int) -findItem(QString,QString) -item(QString,int) -itemPath(QString,int) -itemDepth(QString,int) -setPixmap(QString,QString,int) -setColumnCaption(QString,int,QString)") + @setGlobal(DCOP,"insertItem(TQString,TQString,int) +setText(TQString,TQString) +insertItems(TQString,QStringList,int) +selection(TQString) +setSelection(TQString,TQString) +clear(TQString) +removeItem(TQString,int) +currentItem(TQString) +setCurrentItem(TQString,int) +findItem(TQString,TQString) +item(TQString,int) +itemPath(TQString,int) +itemDepth(TQString,int) +setPixmap(TQString,TQString,int) +setColumnCaption(TQString,int,TQString)") @end @proto.clear @@ -2095,13 +2095,13 @@ setColumnCaption(QString,int,QString)") <connections> <connection> <sender>wname</sender> - <signal>widgetTextChanged(const QString&)</signal> + <signal>widgetTextChanged(const TQString&)</signal> <receiver>filterscript</receiver> <slot>execute()</slot> </connection> <connection> <sender>functiongroup</sender> - <signal>widgetTextChanged(const QString&)</signal> + <signal>widgetTextChanged(const TQString&)</signal> <receiver>proto</receiver> <slot>populate()</slot> </connection> |