diff options
author | Michele Calgaro <[email protected]> | 2023-09-25 13:59:20 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-09-25 13:59:20 +0900 |
commit | 0580616e20b68c764cdbbd9a01c9dd21f99766d4 (patch) | |
tree | 1ab8d38ab08f75b51f27d2d826c3338c272236bd /doc/kommander/dcop.docbook | |
parent | 9c510e0b59a1c8a5de3073849a205d92d5d18911 (diff) | |
download | tdewebdev-0580616e20b68c764cdbbd9a01c9dd21f99766d4.tar.gz tdewebdev-0580616e20b68c764cdbbd9a01c9dd21f99766d4.zip |
Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* version
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'doc/kommander/dcop.docbook')
-rw-r--r-- | doc/kommander/dcop.docbook | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/doc/kommander/dcop.docbook b/doc/kommander/dcop.docbook index 1fd7c170..e13db5e6 100644 --- a/doc/kommander/dcop.docbook +++ b/doc/kommander/dcop.docbook @@ -30,7 +30,7 @@ This assumes you are inside a &kommander; file and have access to the special @p &kommander; evolved the much faster internal &DCOP; function. Using it from another application window (console &DCOP; is very slow) is more complicated because you must give lots of information, including a prototype of the call. The above call would become: (Note that @dcopid is actually internal to the dialog, but you could replace it with a valid process ID) </para> <screen> -@dcop(@dcopid, KommanderIf, <quote>enableWidget(QString, bool)</quote>, Widget, true) +@dcop(@dcopid, KommanderIf, <quote>enableWidget(TQString, bool)</quote>, Widget, true) </screen> <para> In the early &kommander; nesting &DCOP; calls inside script language structures (like <application>bash</application>) used console method calls. <emphasis>If you use internal &DCOP; all &kommander; specials will be executed first and then the script will be executed.</emphasis> Please read that again as it will cause you no end of grief with a <application>bash</application> loop using &kommander; specials. @@ -49,7 +49,7 @@ As you can see the new syntax is very easy, as well as consistent visually with <title>&DCOP; for Global Variables</title> <variablelist> <varlistentry> -<term>global(QString variableName)</term> +<term>global(TQString variableName)</term> <listitem> <para> Returns the value of the specified global variable. When a script is run from within a &kommander; window any (non-global) variables set in that script will cease to exist after the script completes and therfore will not be available to other script processes or in a new instance of the calling process. The global <quote>scope</quote> means the variable will exist for any process of the window until that window is closed. You may change these variables at any time with a new call to <function>@setGlobal</function>. @@ -57,10 +57,10 @@ Returns the value of the specified global variable. When a script is run from w </listitem> </varlistentry> <varlistentry> -<term>setGlobal(QString variableName, QString value)</term> +<term>setGlobal(TQString variableName, TQString value)</term> <listitem> <para> -Creates a variable that is global to the window process and assigns the value to it. This value can be retrieved with global(QString variableName) or set again. +Creates a variable that is global to the window process and assigns the value to it. This value can be retrieved with global(TQString variableName) or set again. </para> </listitem> </varlistentry> @@ -75,7 +75,7 @@ The following list is old and left here for reference purposes only. For a compl </para> <variablelist> <varlistentry> -<term>setText(QString text)</term> +<term>setText(TQString text)</term> <listitem> <para> This removes the text displayed in the widget and replaces it with the text supplied. @@ -99,7 +99,7 @@ Returns the text associated with the specified widget. This is not the same as </listitem> </varlistentry> <varlistentry> -<term>setAssociatedText(QString text)</term> +<term>setAssociatedText(TQString text)</term> <listitem> <para> This sets the &kommander; Text default string. This is typically set to <quote>@widgetText</quote> to display what is entered into the widget. It is unlikely you will have much need for this, but if you do it is there. Applies to all widgets that can contain data. @@ -113,7 +113,7 @@ This sets the &kommander; Text default string. This is typically set to <quote> <title>&DCOP; for ListBox and ComboBox Widgets</title> <variablelist> <varlistentry> -<term>addListItem(QString item, int index)</term> +<term>addListItem(TQString item, int index)</term> <listitem> <para> Adds an item to a ListBox widget at the specified index. List index starts at zero. To add to the end of the list use -1. @@ -129,7 +129,7 @@ This adds a list of strings all at once. The list should be delimited by <acron </listitem> </varlistentry> <varlistentry> -<term>addUniqueItem(QString item)</term> +<term>addUniqueItem(TQString item)</term> <listitem> <para> addUniqueItem will add an item to the end of the list only if it is unique. @@ -175,7 +175,7 @@ Set the current (or selected) item to the index specified. Applies to ListBox a <title>&DCOP; for CheckBox and RadioButton Widgets</title> <variablelist> <varlistentry> -<term>setChecked(QString widgetName, bool checked)</term> +<term>setChecked(TQString widgetName, bool checked)</term> <listitem> <para> Checks/unchecks CheckBox or RadioButton widgets. @@ -189,7 +189,7 @@ Checks/unchecks CheckBox or RadioButton widgets. <title>&DCOP; for TabWidget Widgets</title> <variablelist> <varlistentry> -<term>setCurrentTab(QString widgetName, int index)</term> +<term>setCurrentTab(TQString widgetName, int index)</term> <listitem> <para> Selected the tab by index for TabWidgets. Index starts at 0. |