diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-08-06 11:29:57 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-08-06 11:29:57 +0900 |
commit | dcce5b1f2c449ed9a02b1752e0d74f147a83d07d (patch) | |
tree | d57fe27457a96451f1a67e2a2db268a441d917fc /doc/html/tqcombobox.html | |
parent | 649c4c61a1f1f479f4532b196f68df476cef2680 (diff) | |
download | tqt-rename/true-false-4.tar.gz tqt-rename/true-false-4.zip |
Replace TRUE/FALSE with boolean values true/false - part 4rename/true-false-4
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/tqcombobox.html')
-rw-r--r-- | doc/html/tqcombobox.html | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/doc/html/tqcombobox.html b/doc/html/tqcombobox.html index efc2e444e..8a7aaeb68 100644 --- a/doc/html/tqcombobox.html +++ b/doc/html/tqcombobox.html @@ -138,8 +138,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 @@ -232,7 +232,7 @@ use the other constructor. </h3> Constructs a combobox with a maximum size and either Motif 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="tqwidget.html">TQWidget</a> constructor. @@ -261,10 +261,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="tqcombobox.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="tqcombobox.html#autoResize-prop">"autoResize"</a> property for details. <h3 class=fn>void <a name="changeItem"></a>TQComboBox::changeItem ( const <a href="tqstring.html">TQString</a> & t, int index ) </h3> @@ -312,10 +312,10 @@ See the <a href="tqcombobox.html#currentItem-prop">"currentItem"</a> property fo </h3><p>Returns the text of the combobox's current item. See the <a href="tqcombobox.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="tqcombobox.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="tqcombobox.html#editable-prop">"editable"</a> property for details. <h3 class=fn>void <a name="highlighted"></a>TQComboBox::highlighted ( int index )<tt> [signal]</tt> </h3> @@ -515,7 +515,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> @@ -524,8 +524,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> @@ -550,9 +550,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> @@ -563,8 +563,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 Motif 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 Motif 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 |