summaryrefslogtreecommitdiffstats
path: root/doc/html/tqinputdialog.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/tqinputdialog.html')
-rw-r--r--doc/html/tqinputdialog.html28
1 files changed, 14 insertions, 14 deletions
diff --git a/doc/html/tqinputdialog.html b/doc/html/tqinputdialog.html
index 6d1223af3..8cae46bdf 100644
--- a/doc/html/tqinputdialog.html
+++ b/doc/html/tqinputdialog.html
@@ -40,7 +40,7 @@ body { background: #ffffff; color: black; }
<li class=fn>TQString <a href="#getText"><b>getText</b></a> ( const&nbsp;TQString&nbsp;&amp;&nbsp;caption, const&nbsp;TQString&nbsp;&amp;&nbsp;label, TQLineEdit::EchoMode&nbsp;mode = TQLineEdit::Normal, const&nbsp;TQString&nbsp;&amp;&nbsp;text = TQString::null, bool&nbsp;*&nbsp;ok = 0, TQWidget&nbsp;*&nbsp;parent = 0, const&nbsp;char&nbsp;*&nbsp;name = 0 )</li>
<li class=fn>int <a href="#getInteger"><b>getInteger</b></a> ( const&nbsp;TQString&nbsp;&amp;&nbsp;caption, const&nbsp;TQString&nbsp;&amp;&nbsp;label, int&nbsp;value = 0, int&nbsp;minValue = -2147483647, int&nbsp;maxValue = 2147483647, int&nbsp;step = 1, bool&nbsp;*&nbsp;ok = 0, TQWidget&nbsp;*&nbsp;parent = 0, const&nbsp;char&nbsp;*&nbsp;name = 0 )</li>
<li class=fn>double <a href="#getDouble"><b>getDouble</b></a> ( const&nbsp;TQString&nbsp;&amp;&nbsp;caption, const&nbsp;TQString&nbsp;&amp;&nbsp;label, double&nbsp;value = 0, double&nbsp;minValue = -2147483647, double&nbsp;maxValue = 2147483647, int&nbsp;decimals = 1, bool&nbsp;*&nbsp;ok = 0, TQWidget&nbsp;*&nbsp;parent = 0, const&nbsp;char&nbsp;*&nbsp;name = 0 )</li>
-<li class=fn>TQString <a href="#getItem"><b>getItem</b></a> ( const&nbsp;TQString&nbsp;&amp;&nbsp;caption, const&nbsp;TQString&nbsp;&amp;&nbsp;label, const&nbsp;TQStringList&nbsp;&amp;&nbsp;list, int&nbsp;current = 0, bool&nbsp;editable = TRUE, bool&nbsp;*&nbsp;ok = 0, TQWidget&nbsp;*&nbsp;parent = 0, const&nbsp;char&nbsp;*&nbsp;name = 0 )</li>
+<li class=fn>TQString <a href="#getItem"><b>getItem</b></a> ( const&nbsp;TQString&nbsp;&amp;&nbsp;caption, const&nbsp;TQString&nbsp;&amp;&nbsp;label, const&nbsp;TQStringList&nbsp;&amp;&nbsp;list, int&nbsp;current = 0, bool&nbsp;editable = true, bool&nbsp;*&nbsp;ok = 0, TQWidget&nbsp;*&nbsp;parent = 0, const&nbsp;char&nbsp;*&nbsp;name = 0 )</li>
</ul>
<hr><a name="details"></a><h2>Detailed Description</h2>
@@ -77,8 +77,8 @@ bar of the dialog. <em>label</em> is the text which is shown to the user
floating point number that the line edit will be set to. <em>minValue</em> and <em>maxValue</em> are the minimum and maximum values the
user may choose, and <em>decimals</em> is the maximum number of decimal
places the number may have.
-<p> If <em>ok</em> is not-null <em>*</em><em>ok</em> will be set to TRUE if the user
-pressed OK and to FALSE if the user pressed Cancel. The dialog's
+<p> If <em>ok</em> is not-null <em>*</em><em>ok</em> will be set to true if the user
+pressed OK and to false if the user pressed Cancel. The dialog's
parent is <em>parent</em>; the dialog is called <em>name</em>. The dialog will
be modal.
<p> This function returns the floating point number which has been
@@ -106,8 +106,8 @@ of the dialog. <em>label</em> is the text which is shown to the user
integer which the spinbox will be set to. <em>minValue</em> and <em>maxValue</em> are the minimum and maximum values the user may choose,
and <em>step</em> is the amount by which the values change as the user
presses the arrow buttons to increment or decrement the value.
-<p> If <em>ok</em> is not-null *<em>ok</em> will be set to TRUE if the user
-pressed OK and to FALSE if the user pressed Cancel. The dialog's
+<p> If <em>ok</em> is not-null *<em>ok</em> will be set to true if the user
+pressed OK and to false if the user pressed Cancel. The dialog's
parent is <em>parent</em>; the dialog is called <em>name</em>. The dialog will
be modal.
<p> This function returns the integer which has been entered by the user.
@@ -125,28 +125,28 @@ be modal.
</pre>
-<h3 class=fn><a href="tqstring.html">TQString</a> <a name="getItem"></a>TQInputDialog::getItem ( const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;caption, const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;label, const&nbsp;<a href="tqstringlist.html">TQStringList</a>&nbsp;&amp;&nbsp;list, int&nbsp;current = 0, bool&nbsp;editable = TRUE, bool&nbsp;*&nbsp;ok = 0, <a href="tqwidget.html">TQWidget</a>&nbsp;*&nbsp;parent = 0, const&nbsp;char&nbsp;*&nbsp;name = 0 )<tt> [static]</tt>
+<h3 class=fn><a href="tqstring.html">TQString</a> <a name="getItem"></a>TQInputDialog::getItem ( const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;caption, const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;label, const&nbsp;<a href="tqstringlist.html">TQStringList</a>&nbsp;&amp;&nbsp;list, int&nbsp;current = 0, bool&nbsp;editable = true, bool&nbsp;*&nbsp;ok = 0, <a href="tqwidget.html">TQWidget</a>&nbsp;*&nbsp;parent = 0, const&nbsp;char&nbsp;*&nbsp;name = 0 )<tt> [static]</tt>
</h3>
Static convenience function to let the user select an item from a
string list. <em>caption</em> is the text which is displayed in the title
bar of the dialog. <em>label</em> is the text which is shown to the user (it
should say what should be entered). <em>list</em> is the
string list which is inserted into the combobox, and <em>current</em> is the number
-of the item which should be the current item. If <em>editable</em> is TRUE
-the user can enter their own text; if <em>editable</em> is FALSE the user
+of the item which should be the current item. If <em>editable</em> is true
+the user can enter their own text; if <em>editable</em> is false the user
may only select one of the existing items.
-<p> If <em>ok</em> is not-null <em>*</em><em>ok</em> will be set to TRUE if the user
-pressed OK and to FALSE if the user pressed Cancel. The dialog's
+<p> If <em>ok</em> is not-null <em>*</em><em>ok</em> will be set to true if the user
+pressed OK and to false if the user pressed Cancel. The dialog's
parent is <em>parent</em>; the dialog is called <em>name</em>. The dialog will
be modal.
-<p> This function returns the text of the current item, or if <em>editable</em> is TRUE, the current text of the combobox.
+<p> This function returns the text of the current item, or if <em>editable</em> is true, the current text of the combobox.
<p> Use this static function like this:
<p> <pre>
<a href="tqstringlist.html">TQStringList</a> lst;
lst &lt;&lt; "First" &lt;&lt; "Second" &lt;&lt; "Third" &lt;&lt; "Fourth" &lt;&lt; "Fifth";
bool ok;
<a href="tqstring.html">TQString</a> res = TQInputDialog::<a href="#getItem">getItem</a>(
- "MyApp 3000", "Select an item:", lst, 1, TRUE, &amp;ok,
+ "MyApp 3000", "Select an item:", lst, 1, true, &amp;ok,
this );
if ( ok ) {
// user selected an item and pressed OK
@@ -162,8 +162,8 @@ Static convenience function to get a string from the user. <em>caption</em> is t
dialog. <em>label</em> is the text which is shown to the user (it should
say what should be entered). <em>text</em> is the default text which is
placed in the line edit. The <em>mode</em> is the echo mode the line edit
-will use. If <em>ok</em> is not-null <em>*</em><em>ok</em> will be set to TRUE if the
-user pressed OK and to FALSE if the user pressed Cancel. The
+will use. If <em>ok</em> is not-null <em>*</em><em>ok</em> will be set to true if the
+user pressed OK and to false if the user pressed Cancel. The
dialog's parent is <em>parent</em>; the dialog is called <em>name</em>. The
dialog will be modal.
<p> This function returns the text which has been entered in the line