summaryrefslogtreecommitdiffstats
path: root/doc/html/tqiconviewitem.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/tqiconviewitem.html')
-rw-r--r--doc/html/tqiconviewitem.html90
1 files changed, 45 insertions, 45 deletions
diff --git a/doc/html/tqiconviewitem.html b/doc/html/tqiconviewitem.html
index 340f1936c..9382d0f56 100644
--- a/doc/html/tqiconviewitem.html
+++ b/doc/html/tqiconviewitem.html
@@ -77,8 +77,8 @@ body { background: #ffffff; color: black; }
<li class=fn>int <a href="#height"><b>height</b></a> () const</li>
<li class=fn>TQSize <a href="#size"><b>size</b></a> () const</li>
<li class=fn>TQPoint <a href="#pos"><b>pos</b></a> () const</li>
-<li class=fn>TQRect <a href="#textRect"><b>textRect</b></a> ( bool&nbsp;relative = TRUE ) const</li>
-<li class=fn>TQRect <a href="#pixmapRect"><b>pixmapRect</b></a> ( bool&nbsp;relative = TRUE ) const</li>
+<li class=fn>TQRect <a href="#textRect"><b>textRect</b></a> ( bool&nbsp;relative = true ) const</li>
+<li class=fn>TQRect <a href="#pixmapRect"><b>pixmapRect</b></a> ( bool&nbsp;relative = true ) const</li>
<li class=fn>bool <a href="#contains"><b>contains</b></a> ( const&nbsp;TQPoint&nbsp;&amp;&nbsp;pnt ) const</li>
<li class=fn>bool <a href="#intersects"><b>intersects</b></a> ( const&nbsp;TQRect&nbsp;&amp;&nbsp;r ) const</li>
<li class=fn>virtual bool <a href="#acceptDrop"><b>acceptDrop</b></a> ( const&nbsp;TQMimeSource&nbsp;*&nbsp;mime ) const</li>
@@ -87,8 +87,8 @@ body { background: #ffffff; color: black; }
<li class=fn>virtual void <a href="#setText"><b>setText</b></a> ( const&nbsp;TQString&nbsp;&amp;&nbsp;text )</li>
<li class=fn>virtual void <a href="#setPixmap"><b>setPixmap</b></a> ( const&nbsp;TQPixmap&nbsp;&amp;&nbsp;icon )</li>
<li class=fn>virtual void <a href="#setPicture"><b>setPicture</b></a> ( const&nbsp;TQPicture&nbsp;&amp;&nbsp;icon )</li>
-<li class=fn>virtual void <a href="#setText-2"><b>setText</b></a> ( const&nbsp;TQString&nbsp;&amp;&nbsp;text, bool&nbsp;recalc, bool&nbsp;redraw = TRUE )</li>
-<li class=fn>virtual void <a href="#setPixmap-2"><b>setPixmap</b></a> ( const&nbsp;TQPixmap&nbsp;&amp;&nbsp;icon, bool&nbsp;recalc, bool&nbsp;redraw = TRUE )</li>
+<li class=fn>virtual void <a href="#setText-2"><b>setText</b></a> ( const&nbsp;TQString&nbsp;&amp;&nbsp;text, bool&nbsp;recalc, bool&nbsp;redraw = true )</li>
+<li class=fn>virtual void <a href="#setPixmap-2"><b>setPixmap</b></a> ( const&nbsp;TQPixmap&nbsp;&amp;&nbsp;icon, bool&nbsp;recalc, bool&nbsp;redraw = true )</li>
<li class=fn>virtual void <a href="#setKey"><b>setKey</b></a> ( const&nbsp;TQString&nbsp;&amp;&nbsp;k )</li>
<li class=fn>virtual int <a href="#rtti"><b>rtti</b></a> () const</li>
</ul>
@@ -126,7 +126,7 @@ pointer to the icon view, a string and an icon:
</pre>
<p> By default the text of an icon view item may not be edited by the
-user but calling <a href="#setRenameEnabled">setRenameEnabled</a>(TRUE) will allow the user to
+user but calling <a href="#setRenameEnabled">setRenameEnabled</a>(true) will allow the user to
perform in-place editing of the item's text.
<p> When the icon view is deleted all items in it are deleted
automatically.
@@ -211,9 +211,9 @@ the item has been destroyed.
<h3 class=fn>bool <a name="acceptDrop"></a>TQIconViewItem::acceptDrop ( const&nbsp;<a href="tqmimesource.html">TQMimeSource</a>&nbsp;*&nbsp;mime ) const<tt> [virtual]</tt>
</h3>
-<p> Returns TRUE if you can drop things with a <a href="tqmimesource.html">TQMimeSource</a> of <em>mime</em>
-onto this item; otherwise returns FALSE.
-<p> The default implementation always returns FALSE. You must subclass
+<p> Returns true if you can drop things with a <a href="tqmimesource.html">TQMimeSource</a> of <em>mime</em>
+onto this item; otherwise returns false.
+<p> The default implementation always returns false. You must subclass
TQIconViewItem and reimplement <a href="#acceptDrop">acceptDrop</a>() to accept drops.
<p>Examples: <a href="fileiconview-example.html#x836">fileiconview/tqfileiconview.cpp</a> and <a href="simple_dd-example.html#x2822">iconview/simple_dd/main.cpp</a>.
@@ -245,13 +245,13 @@ reimplementation that uses plain Unicode comparison:
<h3 class=fn>bool <a name="contains"></a>TQIconViewItem::contains ( const&nbsp;<a href="tqpoint.html">TQPoint</a>&nbsp;&amp;&nbsp;pnt ) const
</h3>
-Returns TRUE if the item contains the point <em>pnt</em> (in contents
-coordinates); otherwise returns FALSE.
+Returns true if the item contains the point <em>pnt</em> (in contents
+coordinates); otherwise returns false.
<h3 class=fn>bool <a name="dragEnabled"></a>TQIconViewItem::dragEnabled () const
</h3>
-Returns TRUE if the user is allowed to drag the icon view item;
-otherwise returns FALSE.
+Returns true if the user is allowed to drag the icon view item;
+otherwise returns false.
<p> <p>See also <a href="#setDragEnabled">setDragEnabled</a>().
<h3 class=fn>void <a name="dragEntered"></a>TQIconViewItem::dragEntered ()<tt> [virtual protected]</tt>
@@ -272,8 +272,8 @@ reimplement this function.
<p>Example: <a href="fileiconview-example.html#x838">fileiconview/tqfileiconview.cpp</a>.
<h3 class=fn>bool <a name="dropEnabled"></a>TQIconViewItem::dropEnabled () const
</h3>
-Returns TRUE if the user is allowed to drop something onto the
-item; otherwise returns FALSE.
+Returns true if the user is allowed to drop something onto the
+item; otherwise returns false.
<p> <p>See also <a href="#setDropEnabled">setDropEnabled</a>().
<h3 class=fn>void <a name="dropped"></a>TQIconViewItem::dropped ( <a href="tqdropevent.html">TQDropEvent</a>&nbsp;*&nbsp;e, const&nbsp;<a href="tqvaluelist.html">TQValueList</a>&lt;TQIconDragItem&gt;&nbsp;&amp;&nbsp;lst )<tt> [virtual protected]</tt>
@@ -304,17 +304,17 @@ occurred.
<h3 class=fn>bool <a name="intersects"></a>TQIconViewItem::intersects ( const&nbsp;<a href="tqrect.html">TQRect</a>&nbsp;&amp;&nbsp;r ) const
</h3>
-Returns TRUE if the item intersects the rectangle <em>r</em> (in
-contents coordinates); otherwise returns FALSE.
+Returns true if the item intersects the rectangle <em>r</em> (in
+contents coordinates); otherwise returns false.
<h3 class=fn>bool <a name="isSelectable"></a>TQIconViewItem::isSelectable () const
</h3>
-Returns TRUE if the item is selectable; otherwise returns FALSE.
+Returns true if the item is selectable; otherwise returns false.
<p> <p>See also <a href="#setSelectable">setSelectable</a>().
<h3 class=fn>bool <a name="isSelected"></a>TQIconViewItem::isSelected () const
</h3>
-Returns TRUE if the item is selected; otherwise returns FALSE.
+Returns true if the item is selected; otherwise returns false.
<p> <p>See also <a href="#setSelected">setSelected</a>().
<p>Example: <a href="fileiconview-example.html#x840">fileiconview/tqfileiconview.cpp</a>.
@@ -397,11 +397,11 @@ changes.
<p> <p>See also <a href="#setPixmap">setPixmap</a>().
<p>Example: <a href="fileiconview-example.html#x843">fileiconview/tqfileiconview.cpp</a>.
-<h3 class=fn><a href="tqrect.html">TQRect</a> <a name="pixmapRect"></a>TQIconViewItem::pixmapRect ( bool&nbsp;relative = TRUE ) const
+<h3 class=fn><a href="tqrect.html">TQRect</a> <a name="pixmapRect"></a>TQIconViewItem::pixmapRect ( bool&nbsp;relative = true ) const
</h3>
Returns the bounding rectangle of the item's icon.
-<p> If <em>relative</em> is TRUE, (the default), the rectangle is relative to
-the origin of the item's rectangle. If <em>relative</em> is FALSE, the
+<p> If <em>relative</em> is true, (the default), the rectangle is relative to
+the origin of the item's rectangle. If <em>relative</em> is false, the
returned rectangle is relative to the origin of the icon view's
contents coordinate system.
@@ -437,8 +437,8 @@ user canceled, e.g. by pressing the Escape key).
<p>Example: <a href="fileiconview-example.html#x845">fileiconview/tqfileiconview.cpp</a>.
<h3 class=fn>bool <a name="renameEnabled"></a>TQIconViewItem::renameEnabled () const
</h3>
-Returns TRUE if the item can be renamed by the user with in-place
-renaming; otherwise returns FALSE.
+Returns true if the item can be renamed by the user with in-place
+renaming; otherwise returns false.
<p> <p>See also <a href="#setRenameEnabled">setRenameEnabled</a>().
<p>Example: <a href="fileiconview-example.html#x846">fileiconview/tqfileiconview.cpp</a>.
@@ -456,14 +456,14 @@ allow for extensions to this class.
<h3 class=fn>void <a name="setDragEnabled"></a>TQIconViewItem::setDragEnabled ( bool&nbsp;allow )<tt> [virtual]</tt>
</h3>
-If <em>allow</em> is TRUE, the icon view permits the user to drag the
+If <em>allow</em> is true, the icon view permits the user to drag the
icon view item either to another position within the icon view or
-to somewhere outside of it. If <em>allow</em> is FALSE, the item cannot
+to somewhere outside of it. If <em>allow</em> is false, the item cannot
be dragged.
<h3 class=fn>void <a name="setDropEnabled"></a>TQIconViewItem::setDropEnabled ( bool&nbsp;allow )<tt> [virtual]</tt>
</h3>
-If <em>allow</em> is TRUE, the icon view lets the user drop something on
+If <em>allow</em> is true, the icon view lets the user drop something on
this icon view item.
<h3 class=fn>void <a name="setItemRect"></a>TQIconViewItem::setItemRect ( const&nbsp;<a href="tqrect.html">TQRect</a>&nbsp;&amp;&nbsp;r )<tt> [protected]</tt>
@@ -495,11 +495,11 @@ not be displayed properly, depending on the <a href="tqiconview.html#Arrangement
documentation</a> for details.
<p> <p>See also <a href="#pixmap">pixmap</a>().
-<h3 class=fn>void <a name="setPixmap-2"></a>TQIconViewItem::setPixmap ( const&nbsp;<a href="tqpixmap.html">TQPixmap</a>&nbsp;&amp;&nbsp;icon, bool&nbsp;recalc, bool&nbsp;redraw = TRUE )<tt> [virtual]</tt>
+<h3 class=fn>void <a name="setPixmap-2"></a>TQIconViewItem::setPixmap ( const&nbsp;<a href="tqpixmap.html">TQPixmap</a>&nbsp;&amp;&nbsp;icon, bool&nbsp;recalc, bool&nbsp;redraw = true )<tt> [virtual]</tt>
</h3>
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
<p> Sets <em>icon</em> as the item's icon in the icon view. If <em>recalc</em> is
-TRUE, the icon view's layout is recalculated. If <em>redraw</em> is TRUE
+true, the icon view's layout is recalculated. If <em>redraw</em> is true
(the default), the icon view is repainted.
<p> <b>Note:</b> Pixmaps with individual dimensions larger than 300 pixels may
not be displayed properly, depending on the <a href="tqiconview.html#Arrangement-enum">arrangement in use</a>. See the <a href="#pixmap-size-limit">main class
@@ -515,16 +515,16 @@ so that they can set the calculated rectangle. <em>Any other use is discouraged.
<h3 class=fn>void <a name="setRenameEnabled"></a>TQIconViewItem::setRenameEnabled ( bool&nbsp;allow )<tt> [virtual]</tt>
</h3>
-If <em>allow</em> is TRUE, the user can rename the icon view item by
+If <em>allow</em> is true, the user can rename the icon view item by
clicking on the text (or pressing F2) while the item is selected
-(in-place renaming). If <em>allow</em> is FALSE, in-place renaming is
+(in-place renaming). If <em>allow</em> is false, in-place renaming is
not possible.
<p>Examples: <a href="fileiconview-example.html#x848">fileiconview/tqfileiconview.cpp</a>, <a href="iconview-example.html#x1459">iconview/main.cpp</a>, and <a href="simple_dd-example.html#x2824">iconview/simple_dd/main.cpp</a>.
<h3 class=fn>void <a name="setSelectable"></a>TQIconViewItem::setSelectable ( bool&nbsp;enable )<tt> [virtual]</tt>
</h3>
-Sets this item to be selectable if <em>enable</em> is TRUE (the default)
-or unselectable if <em>enable</em> is FALSE.
+Sets this item to be selectable if <em>enable</em> is true (the default)
+or unselectable if <em>enable</em> is false.
<p> The user is unable to select a non-selectable item using either
the keyboard or the mouse. (The application programmer can select
an item in code regardless of this setting.)
@@ -535,16 +535,16 @@ an item in code regardless of this setting.)
Selects or unselects the item, depending on <em>s</em>; it may also
unselect other items, depending on <a href="tqiconview.html#selectionMode">TQIconView::selectionMode</a>() and
<em>cb</em>.
-<p> If <em>s</em> is FALSE, the item is unselected.
-<p> If <em>s</em> is TRUE and TQIconView::selectionMode() is <tt>Single</tt>, the
+<p> If <em>s</em> is false, the item is unselected.
+<p> If <em>s</em> is true and TQIconView::selectionMode() is <tt>Single</tt>, the
item is selected and the item previously selected is unselected.
-<p> If <em>s</em> is TRUE and TQIconView::selectionMode() is <tt>Extended</tt>, the
-item is selected. If <em>cb</em> is TRUE, the selection state of the
-other items is left unchanged. If <em>cb</em> is FALSE (the default) all
+<p> If <em>s</em> is true and TQIconView::selectionMode() is <tt>Extended</tt>, the
+item is selected. If <em>cb</em> is true, the selection state of the
+other items is left unchanged. If <em>cb</em> is false (the default) all
other items are unselected.
-<p> If <em>s</em> is TRUE and TQIconView::selectionMode() is <tt>Multi</tt>, the
+<p> If <em>s</em> is true and TQIconView::selectionMode() is <tt>Multi</tt>, the
item is selected.
-<p> Note that <em>cb</em> is used only if TQIconView::selectionMode() is <tt>Extended</tt>; cb defaults to FALSE.
+<p> Note that <em>cb</em> is used only if TQIconView::selectionMode() is <tt>Extended</tt>; cb defaults to false.
<p> All items whose selection status changes repaint themselves.
<p>Example: <a href="fileiconview-example.html#x849">fileiconview/tqfileiconview.cpp</a>.
@@ -552,7 +552,7 @@ item is selected.
</h3>
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
<p> This variant is equivalent to calling the other variant with <em>cb</em>
-set to FALSE.
+set to false.
<h3 class=fn>void <a name="setText"></a>TQIconViewItem::setText ( const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;text )<tt> [virtual]</tt>
</h3>
@@ -561,11 +561,11 @@ might be a no-op if you reimplement <a href="#text">text</a>().
<p> <p>See also <a href="#text">text</a>().
<p>Example: <a href="fileiconview-example.html#x850">fileiconview/tqfileiconview.cpp</a>.
-<h3 class=fn>void <a name="setText-2"></a>TQIconViewItem::setText ( const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;text, bool&nbsp;recalc, bool&nbsp;redraw = TRUE )<tt> [virtual]</tt>
+<h3 class=fn>void <a name="setText-2"></a>TQIconViewItem::setText ( const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;text, bool&nbsp;recalc, bool&nbsp;redraw = true )<tt> [virtual]</tt>
</h3>
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
<p> Sets <em>text</em> as the text of the icon view item. If <em>recalc</em> is
-TRUE, the icon view's layout is recalculated. If <em>redraw</em> is TRUE
+true, the icon view's layout is recalculated. If <em>redraw</em> is true
(the default), the icon view is repainted.
<p> <p>See also <a href="#text">text</a>().
@@ -591,12 +591,12 @@ do this, you must call <a href="#calcRect">calcRect</a>() manually each time the
<p> <p>See also <a href="#setText">setText</a>().
<p>Example: <a href="fileiconview-example.html#x851">fileiconview/tqfileiconview.cpp</a>.
-<h3 class=fn><a href="tqrect.html">TQRect</a> <a name="textRect"></a>TQIconViewItem::textRect ( bool&nbsp;relative = TRUE ) const
+<h3 class=fn><a href="tqrect.html">TQRect</a> <a name="textRect"></a>TQIconViewItem::textRect ( bool&nbsp;relative = true ) const
</h3>
Returns the bounding rectangle of the item's text.
-<p> If <em>relative</em> is TRUE, (the default), the returned rectangle is
+<p> If <em>relative</em> is true, (the default), the returned rectangle is
relative to the origin of the item's rectangle. If <em>relative</em> is
-FALSE, the returned rectangle is relative to the origin of the
+false, the returned rectangle is relative to the origin of the
icon view's contents coordinate system.
<p>Example: <a href="fileiconview-example.html#x852">fileiconview/tqfileiconview.cpp</a>.