summaryrefslogtreecommitdiffstats
path: root/doc/html/ntqcombobox.html
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-11-26 15:11:22 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-11-26 15:11:22 +0900
commitb87533f9904c10f24d6b2e8177c00944e3efe15b (patch)
treec1106a381c851b51e86004698457aef1211b77be /doc/html/ntqcombobox.html
parent894037c3e68e1573a34183d936171f8cda5085f3 (diff)
downloadtqt-r14.1.x.tar.gz
tqt-r14.1.x.zip
Replace TRUE/FALSE with boolean values true/false - part 4r14.1.x
Manually cherry-picked from commit 4d495175 Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/ntqcombobox.html')
-rw-r--r--doc/html/ntqcombobox.html28
1 files changed, 14 insertions, 14 deletions
diff --git a/doc/html/ntqcombobox.html b/doc/html/ntqcombobox.html
index a4f902773..5425096c7 100644
--- a/doc/html/ntqcombobox.html
+++ b/doc/html/ntqcombobox.html
@@ -139,8 +139,8 @@ style:
<p> The other constructor creates a new-style combobox in Motif style,
and can create both read-only and editable comboboxes:
<pre>
- TQComboBox *c1 = new TQComboBox( FALSE, this, "read-only combobox" );
- TQComboBox *c2 = new TQComboBox( TRUE, this, "editable combobox" );
+ TQComboBox *c1 = new TQComboBox( false, this, "read-only combobox" );
+ TQComboBox *c2 = new TQComboBox( true, this, "editable combobox" );
</pre>
<p> New-style comboboxes use a list box in both Motif and Windows
@@ -233,7 +233,7 @@ use the other constructor.
</h3>
Constructs a combobox with a maximum size and either <a href="motif-extension.html#Motif">Motif</a> 2.0 or
Windows look and feel.
-<p> The input field can be edited if <em>rw</em> is TRUE, otherwise the user
+<p> The input field can be edited if <em>rw</em> is true, otherwise the user
may only choose one of the items in the combobox.
<p> The <em>parent</em> and <em>name</em> arguments are passed on to the <a href="ntqwidget.html">TQWidget</a>
constructor.
@@ -262,10 +262,10 @@ argument is meaningful only for selected strings, not for user
entered strings.
<h3 class=fn>bool <a name="autoCompletion"></a>TQComboBox::autoCompletion () const
-</h3><p>Returns TRUE if auto-completion is enabled; otherwise returns FALSE.
+</h3><p>Returns true if auto-completion is enabled; otherwise returns false.
See the <a href="ntqcombobox.html#autoCompletion-prop">"autoCompletion"</a> property for details.
<h3 class=fn>bool <a name="autoResize"></a>TQComboBox::autoResize () const
-</h3><p>Returns TRUE if auto resize is enabled; otherwise returns FALSE.
+</h3><p>Returns true if auto resize is enabled; otherwise returns false.
See the <a href="ntqcombobox.html#autoResize-prop">"autoResize"</a> property for details.
<h3 class=fn>void <a name="changeItem"></a>TQComboBox::changeItem ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;t, int&nbsp;index )
</h3>
@@ -313,10 +313,10 @@ See the <a href="ntqcombobox.html#currentItem-prop">"currentItem"</a> property f
</h3><p>Returns the text of the combobox's current item.
See the <a href="ntqcombobox.html#currentText-prop">"currentText"</a> property for details.
<h3 class=fn>bool <a name="duplicatesEnabled"></a>TQComboBox::duplicatesEnabled () const
-</h3><p>Returns TRUE if duplicates are allowed; otherwise returns FALSE.
+</h3><p>Returns true if duplicates are allowed; otherwise returns false.
See the <a href="ntqcombobox.html#duplicatesEnabled-prop">"duplicatesEnabled"</a> property for details.
<h3 class=fn>bool <a name="editable"></a>TQComboBox::editable () const
-</h3><p>Returns TRUE if the combobox is editable; otherwise returns FALSE.
+</h3><p>Returns true if the combobox is editable; otherwise returns false.
See the <a href="ntqcombobox.html#editable-prop">"editable"</a> property for details.
<h3 class=fn>void <a name="highlighted"></a>TQComboBox::highlighted ( int&nbsp;index )<tt> [signal]</tt>
</h3>
@@ -516,7 +516,7 @@ if there is one; otherwise returns 0.
<h3 class=fn>bool <a name="autoCompletion-prop"></a>autoCompletion</h3>
<p>This property holds whether auto-completion is enabled.
<p>This property can only be set for editable comboboxes, for
-non-editable comboboxes it has no effect. It is FALSE by default.
+non-editable comboboxes it has no effect. It is false by default.
<p>Set this property's value with <a href="#setAutoCompletion">setAutoCompletion</a>() and get this property's value with <a href="#autoCompletion">autoCompletion</a>().
<h3 class=fn>bool <a name="autoMask-prop"></a>autoMask</h3>
@@ -525,8 +525,8 @@ non-editable comboboxes it has no effect. It is FALSE by default.
<h3 class=fn>bool <a name="autoResize-prop"></a>autoResize</h3> <p>This property holds whether auto resize is enabled.
<p><b>This property is obsolete.</b> It is provided to keep old source working. We strongly advise against using it in new code.
-<p> If this property is set to TRUE then the combobox will resize itself
-whenever its contents change. The default is FALSE.
+<p> If this property is set to true then the combobox will resize itself
+whenever its contents change. The default is false.
<p>Set this property's value with <a href="#setAutoResize">setAutoResize</a>() and get this property's value with <a href="#autoResize">autoResize</a>().
<h3 class=fn>int <a name="count-prop"></a>count</h3>
@@ -551,9 +551,9 @@ combobox's lineedit and presses Enter (and the <a href="#insertionPolicy">insert
is not <a href="#Policy-enum">NoInsertion</a>), then what happens is this:
<ul>
<li> If the text is not already in the list, the text is inserted.
-<li> If the text is in the list and this property is TRUE (the
+<li> If the text is in the list and this property is true (the
default), the text is inserted.
-<li> If the text is in the list and this property is FALSE, the text
+<li> If the text is in the list and this property is false, the text
is <em>not</em> inserted; instead the item which has matching text becomes
the current item.
</ul>
@@ -564,8 +564,8 @@ setting.
<p>Set this property's value with <a href="#setDuplicatesEnabled">setDuplicatesEnabled</a>() and get this property's value with <a href="#duplicatesEnabled">duplicatesEnabled</a>().
<h3 class=fn>bool <a name="editable-prop"></a>editable</h3>
<p>This property holds whether the combobox is editable.
-<p>This property's default is FALSE. Note that the combobox will be
-cleared if this property is set to TRUE for a 1.x <a href="motif-extension.html#Motif">Motif</a> style
+<p>This property's default is false. Note that the combobox will be
+cleared if this property is set to true for a 1.x <a href="motif-extension.html#Motif">Motif</a> style
combobox. To avoid this, use <a href="#setEditable">setEditable</a>() before inserting any
items. Also note that the 1.x version of Motif didn't have any
editable comboboxes, so the combobox will change it's appearance