summaryrefslogtreecommitdiffstats
path: root/doc/html/tqlistbox.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/tqlistbox.html')
-rw-r--r--doc/html/tqlistbox.html78
1 files changed, 39 insertions, 39 deletions
diff --git a/doc/html/tqlistbox.html b/doc/html/tqlistbox.html
index 5868d2216..329a14dc0 100644
--- a/doc/html/tqlistbox.html
+++ b/doc/html/tqlistbox.html
@@ -114,7 +114,7 @@ body { background: #ffffff; color: black; }
<li class=fn>TQListBoxItem * <a href="#itemAt"><b>itemAt</b></a> ( const&nbsp;TQPoint&nbsp;&amp;&nbsp;p ) const</li>
<li class=fn>TQRect <a href="#itemRect"><b>itemRect</b></a> ( TQListBoxItem&nbsp;*&nbsp;item ) const</li>
<li class=fn>TQListBoxItem * <a href="#firstItem"><b>firstItem</b></a> () const</li>
-<li class=fn>void <a href="#sort"><b>sort</b></a> ( bool&nbsp;ascending = TRUE )</li>
+<li class=fn>void <a href="#sort"><b>sort</b></a> ( bool&nbsp;ascending = true )</li>
</ul>
<h2>Public Slots</h2>
<ul>
@@ -213,7 +213,7 @@ cases TQListBox will add scroll bars, as appropriate, in at least
one direction.
<p> If multiple rows are used, each row can be as high as necessary
(the normal setting), or you can request that all items will have
-the same height by calling <a href="#setVariableHeight">setVariableHeight</a>(FALSE). The same
+the same height by calling <a href="#setVariableHeight">setVariableHeight</a>(false). The same
applies to a column's width, see <a href="#setVariableWidth">setVariableWidth</a>().
<p> The TQListBox's items are <a href="tqlistboxitem.html">TQListBoxItem</a> objects. TQListBox provides
methods to insert new items as strings, as pixmaps, and as
@@ -327,22 +327,22 @@ Destroys the list box. Deletes all list box items.
</h3>
<p> <b>This function is obsolete.</b> It is provided to keep old source working. We strongly advise against using it in new code.
-<p> Returns TRUE if <a href="tqscrollview.html#hScrollBarMode">hScrollBarMode</a>() is <a href="tqscrollview.html#ScrollBarMode-enum">Auto</a>; otherwise returns
-FALSE.
+<p> Returns true if <a href="tqscrollview.html#hScrollBarMode">hScrollBarMode</a>() is <a href="tqscrollview.html#ScrollBarMode-enum">Auto</a>; otherwise returns
+false.
<h3 class=fn>bool <a name="autoScrollBar"></a>TQListBox::autoScrollBar () const
</h3>
<p> <b>This function is obsolete.</b> It is provided to keep old source working. We strongly advise against using it in new code.
-<p> Returns TRUE if <a href="tqscrollview.html#vScrollBarMode">vScrollBarMode</a>() is <a href="tqscrollview.html#ScrollBarMode-enum">Auto</a>; otherwise returns
-FALSE.
+<p> Returns true if <a href="tqscrollview.html#vScrollBarMode">vScrollBarMode</a>() is <a href="tqscrollview.html#ScrollBarMode-enum">Auto</a>; otherwise returns
+false.
<h3 class=fn>bool <a name="bottomScrollBar"></a>TQListBox::bottomScrollBar () const
</h3>
<p> <b>This function is obsolete.</b> It is provided to keep old source working. We strongly advise against using it in new code.
-<p> Returns FALSE if <a href="tqscrollview.html#vScrollBarMode">vScrollBarMode</a>() is <a href="tqscrollview.html#ScrollBarMode-enum">AlwaysOff</a>; otherwise
-returns TRUE.
+<p> Returns false if <a href="tqscrollview.html#vScrollBarMode">vScrollBarMode</a>() is <a href="tqscrollview.html#ScrollBarMode-enum">AlwaysOff</a>; otherwise
+returns true.
<h3 class=fn>int <a name="cellHeight"></a>TQListBox::cellHeight ( int&nbsp;i ) const
</h3>
@@ -662,21 +662,21 @@ Inverts the selection. Only works in <a href="#SelectionMode-enum">Multi</a> and
selection mode.
<h3 class=fn>bool <a name="isMultiSelection"></a>TQListBox::isMultiSelection () const
-</h3><p>Returns TRUE if or not the list box is in Multi selection mode; otherwise returns FALSE.
+</h3><p>Returns true if or not the list box is in Multi selection mode; otherwise returns false.
See the <a href="tqlistbox.html#multiSelection-prop">"multiSelection"</a> property for details.
<h3 class=fn>bool <a name="isRubberSelecting"></a>TQListBox::isRubberSelecting () const<tt> [protected]</tt>
</h3>
-Returns TRUE if the user is selecting items using a rubber band
-rectangle; otherwise returns FALSE.
+Returns true if the user is selecting items using a rubber band
+rectangle; otherwise returns false.
<h3 class=fn>bool <a name="isSelected"></a>TQListBox::isSelected ( int&nbsp;i ) const
</h3>
-Returns TRUE if item <em>i</em> is selected; otherwise returns FALSE.
+Returns true if item <em>i</em> is selected; otherwise returns false.
<h3 class=fn>bool <a name="isSelected-2"></a>TQListBox::isSelected ( const&nbsp;<a href="tqlistboxitem.html">TQListBoxItem</a>&nbsp;*&nbsp;i ) const
</h3>
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
-<p> Returns TRUE if item <em>i</em> is selected; otherwise returns FALSE.
+<p> Returns true if item <em>i</em> is selected; otherwise returns false.
<h3 class=fn><a href="tqlistboxitem.html">TQListBoxItem</a>&nbsp;* <a name="item"></a>TQListBox::item ( int&nbsp;index ) const
</h3>
@@ -704,20 +704,20 @@ or is not currently visible.
<h3 class=fn>bool <a name="itemVisible"></a>TQListBox::itemVisible ( int&nbsp;index )
</h3>
-Returns TRUE if the item at position <em>index</em> is at least partly
-visible; otherwise returns FALSE.
+Returns true if the item at position <em>index</em> is at least partly
+visible; otherwise returns false.
<h3 class=fn>bool <a name="itemVisible-2"></a>TQListBox::itemVisible ( const&nbsp;<a href="tqlistboxitem.html">TQListBoxItem</a>&nbsp;*&nbsp;item )
</h3>
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
-<p> Returns TRUE if <em>item</em> is at least partly visible; otherwise
-returns FALSE.
+<p> Returns true if <em>item</em> is at least partly visible; otherwise
+returns false.
<h3 class=fn>bool <a name="itemYPos"></a>TQListBox::itemYPos ( int&nbsp;index, int&nbsp;*&nbsp;yPos ) const<tt> [protected]</tt>
</h3>
<b>This function is obsolete.</b> It is provided to keep old source working. We strongly advise against using it in new code.
<p> Returns the vertical pixel-coordinate in <em>*yPos</em>, of the list box
-item at position <em>index</em> in the list. Returns FALSE if the item is
+item at position <em>index</em> in the list. Returns false if the item is
outside the visible area.
<h3 class=fn>long <a name="maxItemWidth"></a>TQListBox::maxItemWidth () const
@@ -843,13 +843,13 @@ See the <a href="tqlistbox.html#rowMode-prop">"rowMode"</a> property for details
</h3>
<p> <b>This function is obsolete.</b> It is provided to keep old source working. We strongly advise against using it in new code.
-<p> Returns FALSE if <a href="tqscrollview.html#vScrollBarMode">vScrollBarMode</a>() is <a href="tqscrollview.html#ScrollBarMode-enum">AlwaysOff</a>; otherwise
-returns TRUE.
+<p> Returns false if <a href="tqscrollview.html#vScrollBarMode">vScrollBarMode</a>() is <a href="tqscrollview.html#ScrollBarMode-enum">AlwaysOff</a>; otherwise
+returns true.
<h3 class=fn>void <a name="selectAll"></a>TQListBox::selectAll ( bool&nbsp;select )<tt> [virtual slot]</tt>
</h3>
In <a href="#SelectionMode-enum">Multi</a> and <a href="#SelectionMode-enum">Extended</a> modes, this function sets all items to
-be selected if <em>select</em> is TRUE, and to be unselected if <em>select</em> is FALSE.
+be selected if <em>select</em> is true, and to be unselected if <em>select</em> is false.
<p> In <a href="#SelectionMode-enum">Single</a> and <a href="#SelectionMode-enum">NoSelection</a> modes, this function only changes
the selection status of <a href="#currentItem">currentItem</a>().
@@ -908,14 +908,14 @@ See the <a href="tqlistbox.html#selectionMode-prop">"selectionMode"</a> property
</h3>
<p> <b>This function is obsolete.</b> It is provided to keep old source working. We strongly advise against using it in new code.
-<p> If <em>enable</em> is TRUE sets <a href="tqscrollview.html#setHScrollBarMode">setHScrollBarMode</a>() to <a href="tqscrollview.html#ScrollBarMode-enum">AlwaysOn</a>;
+<p> If <em>enable</em> is true sets <a href="tqscrollview.html#setHScrollBarMode">setHScrollBarMode</a>() to <a href="tqscrollview.html#ScrollBarMode-enum">AlwaysOn</a>;
otherwise sets setHScrollBarMode() to <a href="tqscrollview.html#ScrollBarMode-enum">AlwaysOff</a>.
<h3 class=fn>void <a name="setAutoScrollBar"></a>TQListBox::setAutoScrollBar ( bool&nbsp;enable )
</h3>
<p> <b>This function is obsolete.</b> It is provided to keep old source working. We strongly advise against using it in new code.
-<p> If <em>enable</em> is TRUE sets <a href="tqscrollview.html#setVScrollBarMode">setVScrollBarMode</a>() to <a href="tqscrollview.html#ScrollBarMode-enum">AlwaysOn</a>;
+<p> If <em>enable</em> is true sets <a href="tqscrollview.html#setVScrollBarMode">setVScrollBarMode</a>() to <a href="tqscrollview.html#ScrollBarMode-enum">AlwaysOn</a>;
otherwise sets setVScrollBarMode() to <a href="tqscrollview.html#ScrollBarMode-enum">AlwaysOff</a>.
<h3 class=fn>void <a name="setBottomItem"></a>TQListBox::setBottomItem ( int&nbsp;index )<tt> [virtual]</tt>
@@ -928,7 +928,7 @@ is displayed in the bottom row of the list box.
</h3>
<p> <b>This function is obsolete.</b> It is provided to keep old source working. We strongly advise against using it in new code.
-<p> If <em>enable</em> is TRUE sets <a href="tqscrollview.html#setHScrollBarMode">setHScrollBarMode</a>() to <a href="tqscrollview.html#ScrollBarMode-enum">AlwaysOn</a>;
+<p> If <em>enable</em> is true sets <a href="tqscrollview.html#setHScrollBarMode">setHScrollBarMode</a>() to <a href="tqscrollview.html#ScrollBarMode-enum">AlwaysOn</a>;
otherwise sets setHScrollBarMode() to <a href="tqscrollview.html#ScrollBarMode-enum">AlwaysOff</a>.
<h3 class=fn>void <a name="setColumnMode"></a>TQListBox::setColumnMode ( <a href="tqlistbox.html#LayoutMode-enum">LayoutMode</a> )<tt> [virtual]</tt>
@@ -958,23 +958,23 @@ See the <a href="tqlistbox.html#rowMode-prop">"rowMode"</a> property for details
</h3>
<p> <b>This function is obsolete.</b> It is provided to keep old source working. We strongly advise against using it in new code.
-<p> If <em>enable</em> is TRUE sets <a href="tqscrollview.html#setVScrollBarMode">setVScrollBarMode</a>() to <a href="tqscrollview.html#ScrollBarMode-enum">AlwaysOn</a>;
+<p> If <em>enable</em> is true sets <a href="tqscrollview.html#setVScrollBarMode">setVScrollBarMode</a>() to <a href="tqscrollview.html#ScrollBarMode-enum">AlwaysOn</a>;
otherwise sets setVScrollBarMode() to <a href="tqscrollview.html#ScrollBarMode-enum">AlwaysOff</a>.
<h3 class=fn>void <a name="setSelected"></a>TQListBox::setSelected ( <a href="tqlistboxitem.html">TQListBoxItem</a>&nbsp;*&nbsp;item, bool&nbsp;select )<tt> [virtual]</tt>
</h3>
-Selects <em>item</em> if <em>select</em> is TRUE or unselects it if <em>select</em>
-is FALSE, and repaints the item appropriately.
+Selects <em>item</em> if <em>select</em> is true or unselects it if <em>select</em>
+is false, and repaints the item appropriately.
<p> If the list box is a <a href="#SelectionMode-enum">Single</a> selection list box and <em>select</em> is
-TRUE, <a href="#setSelected">setSelected</a>() calls <a href="#setCurrentItem">setCurrentItem</a>().
+true, <a href="#setSelected">setSelected</a>() calls <a href="#setCurrentItem">setCurrentItem</a>().
<p> If the list box is a <a href="#SelectionMode-enum">Single</a> selection list box, <em>select</em> is
-FALSE, setSelected() calls <a href="#clearSelection">clearSelection</a>().
+false, setSelected() calls <a href="#clearSelection">clearSelection</a>().
<p> <p>See also <a href="#multiSelection-prop">multiSelection</a>, <a href="#currentItem-prop">currentItem</a>, <a href="#clearSelection">clearSelection</a>(), and <a href="#currentItem-prop">currentItem</a>.
<h3 class=fn>void <a name="setSelected-2"></a>TQListBox::setSelected ( int&nbsp;index, bool&nbsp;select )
</h3>
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
-<p> If <em>select</em> is TRUE the item at position <em>index</em> is selected;
+<p> If <em>select</em> is true the item at position <em>index</em> is selected;
otherwise the item is deselected.
<h3 class=fn>void <a name="setSelectionMode"></a>TQListBox::setSelectionMode ( <a href="tqlistbox.html#SelectionMode-enum">SelectionMode</a> )<tt> [virtual]</tt>
@@ -989,9 +989,9 @@ See the <a href="tqlistbox.html#variableHeight-prop">"variableHeight"</a> proper
<h3 class=fn>void <a name="setVariableWidth"></a>TQListBox::setVariableWidth ( bool )<tt> [virtual]</tt>
</h3><p>Sets whether this list box has variable-width columns.
See the <a href="tqlistbox.html#variableWidth-prop">"variableWidth"</a> property for details.
-<h3 class=fn>void <a name="sort"></a>TQListBox::sort ( bool&nbsp;ascending = TRUE )
+<h3 class=fn>void <a name="sort"></a>TQListBox::sort ( bool&nbsp;ascending = true )
</h3>
-If <em>ascending</em> is TRUE sorts the items in ascending order;
+If <em>ascending</em> is true sorts the items in ascending order;
otherwise sorts in descending order.
<p> To compare the items, the text (<a href="tqlistboxitem.html#text">TQListBoxItem::text</a>()) of the items
is used.
@@ -1035,7 +1035,7 @@ Returns <a href="tqscrollview.html#contentsWidth">contentsWidth</a>().
<h3 class=fn>void <a name="triggerUpdate"></a>TQListBox::triggerUpdate ( bool&nbsp;doLayout )
</h3>
Ensures that a single paint event will occur at the end of the
-current event loop iteration. If <em>doLayout</em> is TRUE, the layout
+current event loop iteration. If <em>doLayout</em> is true, the layout
is also redone.
<h3 class=fn>void <a name="updateItem"></a>TQListBox::updateItem ( int&nbsp;index )<tt> [protected]</tt>
@@ -1048,10 +1048,10 @@ This is an overloaded member function, provided for convenience. It behaves esse
<p> Repaints the <a href="tqlistboxitem.html">TQListBoxItem</a> <em>i</em>.
<h3 class=fn>bool <a name="variableHeight"></a>TQListBox::variableHeight () const
-</h3><p>Returns TRUE if this list box has variable-height rows; otherwise returns FALSE.
+</h3><p>Returns true if this list box has variable-height rows; otherwise returns false.
See the <a href="tqlistbox.html#variableHeight-prop">"variableHeight"</a> property for details.
<h3 class=fn>bool <a name="variableWidth"></a>TQListBox::variableWidth () const
-</h3><p>Returns TRUE if this list box has variable-width columns; otherwise returns FALSE.
+</h3><p>Returns true if this list box has variable-width columns; otherwise returns false.
See the <a href="tqlistbox.html#variableWidth-prop">"variableWidth"</a> property for details.
<hr><h2>Property Documentation</h2>
<h3 class=fn><a href="tqlistbox.html#LayoutMode-enum">LayoutMode</a> <a name="columnMode-prop"></a>columnMode</h3>
@@ -1082,10 +1082,10 @@ and the list box scrolled as necessary.
<p> <p>This property holds whether or not the list box is in Multi selection mode.
<p>Consider using the <a href="#selectionMode-prop">TQListBox::selectionMode</a> property instead of
this property.
-<p> When setting this property, Multi selection mode is used if set to TRUE and
-to Single selection mode if set to FALSE.
-<p> When getting this property, TRUE is returned if the list box is in
-Multi selection mode or Extended selection mode, and FALSE if it is
+<p> When setting this property, Multi selection mode is used if set to true and
+to Single selection mode if set to false.
+<p> When getting this property, true is returned if the list box is in
+Multi selection mode or Extended selection mode, and false if it is
in Single selection mode or NoSelection mode.
<p> <p>See also <a href="#selectionMode-prop">selectionMode</a>.