summaryrefslogtreecommitdiffstats
path: root/doc/html/tqcustommenuitem.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/tqcustommenuitem.html')
-rw-r--r--doc/html/tqcustommenuitem.html16
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/html/tqcustommenuitem.html b/doc/html/tqcustommenuitem.html
index 0879c8891..bb716ff31 100644
--- a/doc/html/tqcustommenuitem.html
+++ b/doc/html/tqcustommenuitem.html
@@ -61,11 +61,11 @@ selection of drawing utilities in a vector drawing program.
<p> A custom item is inserted into a popup menu with
<a href="tqmenudata.html#insertItem">TQPopupMenu::insertItem</a>().
<p> By default, a custom item can also have an icon and a keyboard
-accelerator. You can reimplement <a href="#fullSpan">fullSpan</a>() to return TRUE if you
+accelerator. You can reimplement <a href="#fullSpan">fullSpan</a>() to return true if you
want the item to span the entire popup menu width. This is
particularly useful for labels.
<p> If you want the custom item to be treated just as a separator,
-reimplement <a href="#isSeparator">isSeparator</a>() to return TRUE.
+reimplement <a href="#isSeparator">isSeparator</a>() to return true.
<p> Note that you can insert pixmaps or bitmaps as items into a popup
menu without needing to create a TQCustomMenuItem. However, custom
menu items offer more flexibility, and -- especially important
@@ -90,23 +90,23 @@ Destroys a TQCustomMenuItem
<h3 class=fn>bool <a name="fullSpan"></a>TQCustomMenuItem::fullSpan () const<tt> [virtual]</tt>
</h3>
-Returns TRUE if this item wants to span the entire popup menu
-width; otherwise returns FALSE. The default is FALSE, meaning that
+Returns true if this item wants to span the entire popup menu
+width; otherwise returns false. The default is false, meaning that
the menu may show an icon and an accelerator key for this item as
well.
<h3 class=fn>bool <a name="isSeparator"></a>TQCustomMenuItem::isSeparator () const<tt> [virtual]</tt>
</h3>
-Returns TRUE if this item is just a separator; otherwise returns
-FALSE.
+Returns true if this item is just a separator; otherwise returns
+false.
<h3 class=fn>void <a name="paint"></a>TQCustomMenuItem::paint ( <a href="tqpainter.html">TQPainter</a>&nbsp;*&nbsp;p, const&nbsp;<a href="tqcolorgroup.html">TQColorGroup</a>&nbsp;&amp;&nbsp;cg, bool&nbsp;act, bool&nbsp;enabled, int&nbsp;x, int&nbsp;y, int&nbsp;w, int&nbsp;h )<tt> [pure virtual]</tt>
</h3>
<p> Paints this item. When this function is invoked, the painter <em>p</em>
is set to a font and foreground color suitable for a menu item
-text using color group <em>cg</em>. The item is active if <em>act</em> is TRUE
-and enabled if <em>enabled</em> is TRUE. The geometry values <em>x</em>, <em>y</em>,
+text using color group <em>cg</em>. The item is active if <em>act</em> is true
+and enabled if <em>enabled</em> is true. The geometry values <em>x</em>, <em>y</em>,
<em>w</em> and <em>h</em> specify where to draw the item.
<p> Do not draw any background, this has already been done by the
popup menu according to the current GUI style.