summaryrefslogtreecommitdiffstats
path: root/doc/html/tqwidget.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/tqwidget.html')
-rw-r--r--doc/html/tqwidget.html204
1 files changed, 102 insertions, 102 deletions
diff --git a/doc/html/tqwidget.html b/doc/html/tqwidget.html
index 0fe84bb54..afb20de1d 100644
--- a/doc/html/tqwidget.html
+++ b/doc/html/tqwidget.html
@@ -170,14 +170,14 @@ body { background: #ffffff; color: black; }
<li class=fn>virtual TQSize <a href="#minimumSizeHint"><b>minimumSizeHint</b></a> () const</li>
<li class=fn>virtual TQSizePolicy <a href="#sizePolicy"><b>sizePolicy</b></a> () const</li>
<li class=fn>virtual void <a href="#setSizePolicy"><b>setSizePolicy</b></a> ( TQSizePolicy )</li>
-<li class=fn>void <a href="#setSizePolicy-2"><b>setSizePolicy</b></a> ( TQSizePolicy::SizeType&nbsp;hor, TQSizePolicy::SizeType&nbsp;ver, bool&nbsp;hfw = FALSE )</li>
+<li class=fn>void <a href="#setSizePolicy-2"><b>setSizePolicy</b></a> ( TQSizePolicy::SizeType&nbsp;hor, TQSizePolicy::SizeType&nbsp;ver, bool&nbsp;hfw = false )</li>
<li class=fn>virtual int <a href="#heightForWidth"><b>heightForWidth</b></a> ( int&nbsp;w ) const</li>
<li class=fn>TQRegion <a href="#clipRegion"><b>clipRegion</b></a> () const</li>
<li class=fn>TQLayout * <a href="#layout"><b>layout</b></a> () const</li>
<li class=fn>void <a href="#updateGeometry"><b>updateGeometry</b></a> ()</li>
-<li class=fn>virtual void <a href="#reparent"><b>reparent</b></a> ( TQWidget&nbsp;*&nbsp;parent, WFlags&nbsp;f, const&nbsp;TQPoint&nbsp;&amp;&nbsp;p, bool&nbsp;showIt = FALSE )</li>
-<li class=fn>void <a href="#reparent-2"><b>reparent</b></a> ( TQWidget&nbsp;*&nbsp;parent, const&nbsp;TQPoint&nbsp;&amp;&nbsp;p, bool&nbsp;showIt = FALSE )</li>
-<li class=fn>void recreate ( TQWidget&nbsp;*&nbsp;parent, WFlags&nbsp;f, const&nbsp;TQPoint&nbsp;&amp;&nbsp;p, bool&nbsp;showIt = FALSE ) &nbsp;<em>(obsolete)</em></li>
+<li class=fn>virtual void <a href="#reparent"><b>reparent</b></a> ( TQWidget&nbsp;*&nbsp;parent, WFlags&nbsp;f, const&nbsp;TQPoint&nbsp;&amp;&nbsp;p, bool&nbsp;showIt = false )</li>
+<li class=fn>void <a href="#reparent-2"><b>reparent</b></a> ( TQWidget&nbsp;*&nbsp;parent, const&nbsp;TQPoint&nbsp;&amp;&nbsp;p, bool&nbsp;showIt = false )</li>
+<li class=fn>void recreate ( TQWidget&nbsp;*&nbsp;parent, WFlags&nbsp;f, const&nbsp;TQPoint&nbsp;&amp;&nbsp;p, bool&nbsp;showIt = false ) &nbsp;<em>(obsolete)</em></li>
<li class=fn>void <a href="#erase-2"><b>erase</b></a> ()</li>
<li class=fn>void <a href="#erase"><b>erase</b></a> ( int&nbsp;x, int&nbsp;y, int&nbsp;w, int&nbsp;h )</li>
<li class=fn>void <a href="#erase-3"><b>erase</b></a> ( const&nbsp;TQRect&nbsp;&amp;&nbsp;r )</li>
@@ -196,10 +196,10 @@ body { background: #ffffff; color: black; }
<li class=fn>virtual void <a href="#setBackgroundOrigin"><b>setBackgroundOrigin</b></a> ( BackgroundOrigin )</li>
<li class=fn>BackgroundOrigin <a href="#backgroundOrigin"><b>backgroundOrigin</b></a> () const</li>
<li class=fn>virtual bool <a href="#customWhatsThis"><b>customWhatsThis</b></a> () const</li>
-<li class=fn>TQWidget * <a href="#parentWidget"><b>parentWidget</b></a> ( bool&nbsp;sameWindow = FALSE ) const</li>
+<li class=fn>TQWidget * <a href="#parentWidget"><b>parentWidget</b></a> ( bool&nbsp;sameWindow = false ) const</li>
<li class=fn>WFlags <a href="#testWFlags"><b>testWFlags</b></a> ( WFlags&nbsp;f ) const</li>
-<li class=fn>TQWidget * <a href="#childAt"><b>childAt</b></a> ( int&nbsp;x, int&nbsp;y, bool&nbsp;includeThis = FALSE ) const</li>
-<li class=fn>TQWidget * <a href="#childAt-2"><b>childAt</b></a> ( const&nbsp;TQPoint&nbsp;&amp;&nbsp;p, bool&nbsp;includeThis = FALSE ) const</li>
+<li class=fn>TQWidget * <a href="#childAt"><b>childAt</b></a> ( int&nbsp;x, int&nbsp;y, bool&nbsp;includeThis = false ) const</li>
+<li class=fn>TQWidget * <a href="#childAt-2"><b>childAt</b></a> ( const&nbsp;TQPoint&nbsp;&amp;&nbsp;p, bool&nbsp;includeThis = false ) const</li>
<li class=fn>void <a href="#setWindowOpacity"><b>setWindowOpacity</b></a> ( double&nbsp;level )</li>
<li class=fn>double <a href="#windowOpacity"><b>windowOpacity</b></a> () const</li>
<li class=fn>void setPalette ( const&nbsp;TQPalette&nbsp;&amp;&nbsp;p, bool ) &nbsp;<em>(obsolete)</em></li>
@@ -221,9 +221,9 @@ body { background: #ffffff; color: black; }
<li class=fn>void <a href="#update-3"><b>update</b></a> ( const&nbsp;TQRect&nbsp;&amp;&nbsp;r )</li>
<li class=fn>void <a href="#repaint-2"><b>repaint</b></a> ()</li>
<li class=fn>void <a href="#repaint-3"><b>repaint</b></a> ( bool&nbsp;erase )</li>
-<li class=fn>void <a href="#repaint"><b>repaint</b></a> ( int&nbsp;x, int&nbsp;y, int&nbsp;w, int&nbsp;h, bool&nbsp;erase = TRUE )</li>
-<li class=fn>void <a href="#repaint-4"><b>repaint</b></a> ( const&nbsp;TQRect&nbsp;&amp;&nbsp;r, bool&nbsp;erase = TRUE )</li>
-<li class=fn>void <a href="#repaint-5"><b>repaint</b></a> ( const&nbsp;TQRegion&nbsp;&amp;&nbsp;reg, bool&nbsp;erase = TRUE )</li>
+<li class=fn>void <a href="#repaint"><b>repaint</b></a> ( int&nbsp;x, int&nbsp;y, int&nbsp;w, int&nbsp;h, bool&nbsp;erase = true )</li>
+<li class=fn>void <a href="#repaint-4"><b>repaint</b></a> ( const&nbsp;TQRect&nbsp;&amp;&nbsp;r, bool&nbsp;erase = true )</li>
+<li class=fn>void <a href="#repaint-5"><b>repaint</b></a> ( const&nbsp;TQRegion&nbsp;&amp;&nbsp;reg, bool&nbsp;erase = true )</li>
<li class=fn>virtual void <a href="#show"><b>show</b></a> ()</li>
<li class=fn>virtual void <a href="#hide"><b>hide</b></a> ()</li>
<li class=fn>void <a href="#setShown"><b>setShown</b></a> ( bool&nbsp;show )</li>
@@ -362,15 +362,15 @@ body { background: #ffffff; color: black; }
<li class=fn>virtual void <a href="#windowActivationChange"><b>windowActivationChange</b></a> ( bool&nbsp;oldActive )</li>
<li class=fn>virtual int <a href="#metric"><b>metric</b></a> ( int&nbsp;m ) const</li>
<li class=fn>void <a href="#resetInputContext"><b>resetInputContext</b></a> ()</li>
-<li class=fn>virtual void <a href="#create"><b>create</b></a> ( WId&nbsp;window = 0, bool&nbsp;initializeWindow = TRUE, bool&nbsp;destroyOldWindow = TRUE )</li>
-<li class=fn>virtual void <a href="#destroy"><b>destroy</b></a> ( bool&nbsp;destroyWindow = TRUE, bool&nbsp;destroySubWindows = TRUE )</li>
+<li class=fn>virtual void <a href="#create"><b>create</b></a> ( WId&nbsp;window = 0, bool&nbsp;initializeWindow = true, bool&nbsp;destroyOldWindow = true )</li>
+<li class=fn>virtual void <a href="#destroy"><b>destroy</b></a> ( bool&nbsp;destroyWindow = true, bool&nbsp;destroySubWindows = true )</li>
<li class=fn>WFlags <a href="#getWFlags"><b>getWFlags</b></a> () const</li>
<li class=fn>virtual void <a href="#setWFlags"><b>setWFlags</b></a> ( WFlags&nbsp;f )</li>
<li class=fn>void <a href="#clearWFlags"><b>clearWFlags</b></a> ( WFlags&nbsp;f )</li>
<li class=fn>virtual bool <a href="#focusNextPrevChild"><b>focusNextPrevChild</b></a> ( bool&nbsp;next )</li>
<li class=fn>TQFocusData * <a href="#focusData"><b>focusData</b></a> ()</li>
<li class=fn>virtual void <a href="#setKeyCompression"><b>setKeyCompression</b></a> ( bool&nbsp;compress )</li>
-<li class=fn>virtual void <a href="#setMicroFocusHint"><b>setMicroFocusHint</b></a> ( int&nbsp;x, int&nbsp;y, int&nbsp;width, int&nbsp;height, bool&nbsp;text = TRUE, TQFont&nbsp;*&nbsp;f = 0 )</li>
+<li class=fn>virtual void <a href="#setMicroFocusHint"><b>setMicroFocusHint</b></a> ( int&nbsp;x, int&nbsp;y, int&nbsp;width, int&nbsp;height, bool&nbsp;text = true, TQFont&nbsp;*&nbsp;f = 0 )</li>
</ul>
<hr><a name="details"></a><h2>Detailed Description</h2>
@@ -637,7 +637,7 @@ event handlers:
<p> <ul>
<p> <li> <a href="#mouseMoveEvent">mouseMoveEvent</a>() - called whenever the mouse moves while a
button is held down. This is useful for, for example, dragging. If
-you call <a href="#setMouseTracking">setMouseTracking</a>(TRUE), you get mouse move events even
+you call <a href="#setMouseTracking">setMouseTracking</a>(true), you get mouse move events even
when no buttons are held down. (Note that applications which make
use of mouse tracking are often not very useful on low-bandwidth X
connections.) (See also the <a href="dnd.html">drag and drop</a>
@@ -742,7 +742,7 @@ Destroys the widget.
exits if this widget is the main widget.
<h3 class=fn>bool <a name="acceptDrops"></a>TQWidget::acceptDrops () const
-</h3><p>Returns TRUE if drop events are enabled for this widget; otherwise returns FALSE.
+</h3><p>Returns true if drop events are enabled for this widget; otherwise returns false.
See the <a href="tqwidget.html#acceptDrops-prop">"acceptDrops"</a> property for details.
<h3 class=fn>void <a name="adjustSize"></a>TQWidget::adjustSize ()<tt> [virtual slot]</tt>
</h3>
@@ -755,7 +755,7 @@ union of all child widget geometries).
<p>Example: <a href="xform-example.html#x1266">xform/xform.cpp</a>.
<p>Reimplemented in <a href="tqmessagebox.html#adjustSize">TQMessageBox</a>.
<h3 class=fn>bool <a name="autoMask"></a>TQWidget::autoMask () const
-</h3><p>Returns TRUE if the auto mask feature is enabled for the widget; otherwise returns FALSE.
+</h3><p>Returns true if the auto mask feature is enabled for the widget; otherwise returns false.
See the <a href="tqwidget.html#autoMask-prop">"autoMask"</a> property for details.
<h3 class=fn>const&nbsp;<a href="tqbrush.html">TQBrush</a>&nbsp;&amp; <a name="backgroundBrush"></a>TQWidget::backgroundBrush () const
</h3><p>Returns the widget's background brush.
@@ -779,18 +779,18 @@ See the <a href="tqwidget.html#baseSize-prop">"baseSize"</a> property for detail
<h3 class=fn><a href="tqstring.html">TQString</a> <a name="caption"></a>TQWidget::caption () const
</h3><p>Returns the window caption (title).
See the <a href="tqwidget.html#caption-prop">"caption"</a> property for details.
-<h3 class=fn><a href="tqwidget.html">TQWidget</a>&nbsp;* <a name="childAt"></a>TQWidget::childAt ( int&nbsp;x, int&nbsp;y, bool&nbsp;includeThis = FALSE ) const
+<h3 class=fn><a href="tqwidget.html">TQWidget</a>&nbsp;* <a name="childAt"></a>TQWidget::childAt ( int&nbsp;x, int&nbsp;y, bool&nbsp;includeThis = false ) const
</h3>
Returns the visible child widget at pixel position <em>(x, y)</em> in
the widget's own coordinate system.
-<p> If <em>includeThis</em> is TRUE, and there is no child visible at <em>(x, y)</em>, the widget itself is returned.
+<p> If <em>includeThis</em> is true, and there is no child visible at <em>(x, y)</em>, the widget itself is returned.
-<h3 class=fn><a href="tqwidget.html">TQWidget</a>&nbsp;* <a name="childAt-2"></a>TQWidget::childAt ( const&nbsp;<a href="tqpoint.html">TQPoint</a>&nbsp;&amp;&nbsp;p, bool&nbsp;includeThis = FALSE ) const
+<h3 class=fn><a href="tqwidget.html">TQWidget</a>&nbsp;* <a name="childAt-2"></a>TQWidget::childAt ( const&nbsp;<a href="tqpoint.html">TQPoint</a>&nbsp;&amp;&nbsp;p, bool&nbsp;includeThis = false ) const
</h3>
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
<p> Returns the visible child widget at point <em>p</em> in the widget's own
coordinate system.
-<p> If <em>includeThis</em> is TRUE, and there is no child visible at <em>p</em>,
+<p> If <em>includeThis</em> is true, and there is no child visible at <em>p</em>,
the widget itself is returned.
<p>
<h3 class=fn><a href="tqrect.html">TQRect</a> <a name="childrenRect"></a>TQWidget::childrenRect () const
@@ -832,8 +832,8 @@ general you do not need to call it.
<h3 class=fn>bool <a name="close"></a>TQWidget::close ()<tt> [slot]</tt>
</h3>
-<p> Closes this widget. Returns TRUE if the widget was closed;
-otherwise returns FALSE.
+<p> Closes this widget. Returns true if the widget was closed;
+otherwise returns false.
<p> First it sends the widget a <a href="tqcloseevent.html">TQCloseEvent</a>. The widget is <a href="#hide">hidden</a> if it <a href="tqcloseevent.html#accept">accepts</a> the close event. The default implementation of
<a href="#closeEvent">TQWidget::closeEvent</a>() accepts the close event.
<p> The <a href="tqapplication.html#lastWindowClosed">TQApplication::lastWindowClosed</a>() signal is emitted when the
@@ -843,9 +843,9 @@ last visible top level widget is closed.
<h3 class=fn>bool <a name="close-2"></a>TQWidget::close ( bool&nbsp;alsoDelete )<tt> [virtual]</tt>
</h3>
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
-<p> Closes this widget. Returns TRUE if the widget was closed;
-otherwise returns FALSE.
-<p> If <em>alsoDelete</em> is TRUE or the widget has the <a href="tqt.html#WidgetFlags-enum">WDestructiveClose</a> widget flag, the widget is also deleted. The
+<p> Closes this widget. Returns true if the widget was closed;
+otherwise returns false.
+<p> If <em>alsoDelete</em> is true or the widget has the <a href="tqt.html#WidgetFlags-enum">WDestructiveClose</a> widget flag, the widget is also deleted. The
widget can prevent itself from being closed by rejecting the
<a href="tqcloseevent.html">TQCloseEvent</a> it gets. A close events is delivered to the widget
no matter if the widget is visible or not.
@@ -889,26 +889,26 @@ more details.
<p> <p>See also <a href="#event">event</a>() and <a href="tqcontextmenuevent.html">TQContextMenuEvent</a>.
<p>Example: <a href="menu-example.html#x1881">menu/menu.cpp</a>.
-<h3 class=fn>void <a name="create"></a>TQWidget::create ( WId&nbsp;window = 0, bool&nbsp;initializeWindow = TRUE, bool&nbsp;destroyOldWindow = TRUE )<tt> [virtual protected]</tt>
+<h3 class=fn>void <a name="create"></a>TQWidget::create ( WId&nbsp;window = 0, bool&nbsp;initializeWindow = true, bool&nbsp;destroyOldWindow = true )<tt> [virtual protected]</tt>
</h3>
Creates a new widget window if <em>window</em> is 0, otherwise sets the
widget's window to <em>window</em>.
-<p> Initializes the window (sets the geometry etc.) if <em>initializeWindow</em> is TRUE. If <em>initializeWindow</em> is FALSE, no
+<p> Initializes the window (sets the geometry etc.) if <em>initializeWindow</em> is true. If <em>initializeWindow</em> is false, no
initialization is performed. This parameter only makes sense if <em>window</em> is a valid window.
-<p> Destroys the old window if <em>destroyOldWindow</em> is TRUE. If <em>destroyOldWindow</em> is FALSE, you are responsible for destroying the
+<p> Destroys the old window if <em>destroyOldWindow</em> is true. If <em>destroyOldWindow</em> is false, you are responsible for destroying the
window yourself (using platform native code).
-<p> The TQWidget constructor calls <a href="#create">create</a>(0,TRUE,TRUE) to create a
+<p> The TQWidget constructor calls <a href="#create">create</a>(0,true,true) to create a
window for this widget.
<h3 class=fn>const&nbsp;<a href="tqcursor.html">TQCursor</a>&nbsp;&amp; <a name="cursor"></a>TQWidget::cursor () const
</h3><p>Returns the cursor shape for this widget.
See the <a href="tqwidget.html#cursor-prop">"cursor"</a> property for details.
<h3 class=fn>bool <a name="customWhatsThis"></a>TQWidget::customWhatsThis () const<tt> [virtual]</tt>
-</h3><p>Returns TRUE if the widget wants to handle What's This help manually; otherwise returns FALSE.
+</h3><p>Returns true if the widget wants to handle What's This help manually; otherwise returns false.
See the <a href="tqwidget.html#customWhatsThis-prop">"customWhatsThis"</a> property for details.
-<h3 class=fn>void <a name="destroy"></a>TQWidget::destroy ( bool&nbsp;destroyWindow = TRUE, bool&nbsp;destroySubWindows = TRUE )<tt> [virtual protected]</tt>
+<h3 class=fn>void <a name="destroy"></a>TQWidget::destroy ( bool&nbsp;destroyWindow = true, bool&nbsp;destroySubWindows = true )<tt> [virtual protected]</tt>
</h3>
-Frees up window system resources. Destroys the widget window if <em>destroyWindow</em> is TRUE.
+Frees up window system resources. Destroys the widget window if <em>destroyWindow</em> is true.
<p> <a href="#destroy">destroy</a>() calls itself recursively for all the child widgets,
passing <em>destroySubWindows</em> for the <em>destroyWindow</em> parameter.
To have more control over destruction of subwidgets, destroy
@@ -1034,8 +1034,8 @@ events. <a href="#event">event</a>() checks for Tab and Shift+Tab and tries to m
focus appropriately. If there is no widget to move the focus to
(or the key press is not Tab or Shift+Tab), event() calls
<a href="#keyPressEvent">keyPressEvent</a>().
-<p> This function returns TRUE if it is able to pass the event over to
-someone (i.e. someone wanted the event); otherwise returns FALSE.
+<p> This function returns true if it is able to pass the event over to
+someone (i.e. someone wanted the event); otherwise returns false.
<p> <p>See also <a href="#closeEvent">closeEvent</a>(), <a href="#focusInEvent">focusInEvent</a>(), <a href="#focusOutEvent">focusOutEvent</a>(), <a href="#enterEvent">enterEvent</a>(), <a href="#keyPressEvent">keyPressEvent</a>(), <a href="#keyReleaseEvent">keyReleaseEvent</a>(), <a href="#leaveEvent">leaveEvent</a>(), <a href="#mouseDoubleClickEvent">mouseDoubleClickEvent</a>(), <a href="#mouseMoveEvent">mouseMoveEvent</a>(), <a href="#mousePressEvent">mousePressEvent</a>(), <a href="#mouseReleaseEvent">mouseReleaseEvent</a>(), <a href="#moveEvent">moveEvent</a>(), <a href="#paintEvent">paintEvent</a>(), <a href="#resizeEvent">resizeEvent</a>(), <a href="tqobject.html#event">TQObject::event</a>(), and <a href="tqobject.html#timerEvent">TQObject::timerEvent</a>().
<p>Reimplemented from <a href="tqobject.html#event">TQObject</a>.
@@ -1073,10 +1073,10 @@ the focus of the user's attention.
<h3 class=fn>bool <a name="focusNextPrevChild"></a>TQWidget::focusNextPrevChild ( bool&nbsp;next )<tt> [virtual protected]</tt>
</h3>
Finds a new widget to give the <a href="focus.html#keyboard-focus">keyboard focus</a> to, as appropriate
-for Tab and Shift+Tab, and returns TRUE if is can find a new
-widget and FALSE if it can't,
-<p> If <em>next</em> is TRUE, this function searches "forwards", if <em>next</em>
-is FALSE, it searches "backwards".
+for Tab and Shift+Tab, and returns true if is can find a new
+widget and false if it can't,
+<p> If <em>next</em> is true, this function searches "forwards", if <em>next</em>
+is false, it searches "backwards".
<p> Sometimes, you will want to reimplement this function. For
example, a web browser might reimplement it to move its "current
active link" forwards or backwards, and call
@@ -1201,7 +1201,7 @@ TQt grabs and releases it sensibly. In particular, TQt grabs the
mouse when a mouse button is pressed and keeps it until the last
button is released.
<p> Note that only visible widgets can grab mouse input. If
-<a href="#isVisible">isVisible</a>() returns FALSE for a widget, that widget cannot call
+<a href="#isVisible">isVisible</a>() returns false for a widget, that widget cannot call
<a href="#grabMouse">grabMouse</a>().
<p> <p>See also <a href="#releaseMouse">releaseMouse</a>(), <a href="#grabKeyboard">grabKeyboard</a>(), <a href="#releaseKeyboard">releaseKeyboard</a>(), <a href="#grabKeyboard">grabKeyboard</a>(), and <a href="#focusWidget">focusWidget</a>().
@@ -1216,13 +1216,13 @@ mouse events until <a href="#releaseMouse">releaseMouse</a>() is called().
<p> <p>See also <a href="#releaseMouse">releaseMouse</a>(), <a href="#grabKeyboard">grabKeyboard</a>(), <a href="#releaseKeyboard">releaseKeyboard</a>(), and <a href="#cursor-prop">cursor</a>.
<h3 class=fn>bool <a name="hasFocus"></a>TQWidget::hasFocus () const
-</h3><p>Returns TRUE if this widget (or its focus proxy) has the keyboard input focus; otherwise returns FALSE.
+</h3><p>Returns true if this widget (or its focus proxy) has the keyboard input focus; otherwise returns false.
See the <a href="tqwidget.html#focus-prop">"focus"</a> property for details.
<h3 class=fn>bool <a name="hasMouse"></a>TQWidget::hasMouse () const
-</h3><p>Returns TRUE if the widget is under the mouse cursor; otherwise returns FALSE.
+</h3><p>Returns true if the widget is under the mouse cursor; otherwise returns false.
See the <a href="tqwidget.html#underMouse-prop">"underMouse"</a> property for details.
<h3 class=fn>bool <a name="hasMouseTracking"></a>TQWidget::hasMouseTracking () const
-</h3><p>Returns TRUE if mouse tracking is enabled for the widget; otherwise returns FALSE.
+</h3><p>Returns true if mouse tracking is enabled for the widget; otherwise returns false.
See the <a href="tqwidget.html#mouseTracking-prop">"mouseTracking"</a> property for details.
<h3 class=fn>int <a name="height"></a>TQWidget::height () const
</h3><p>Returns the height of the widget excluding any window frame.
@@ -1294,21 +1294,21 @@ details.
<p> <p>See also <a href="#event">event</a>() and <a href="tqimevent.html">TQIMEvent</a>.
<h3 class=fn>bool <a name="isActiveWindow"></a>TQWidget::isActiveWindow () const
-</h3><p>Returns TRUE if this widget is the active window; otherwise returns FALSE.
+</h3><p>Returns true if this widget is the active window; otherwise returns false.
See the <a href="tqwidget.html#isActiveWindow-prop">"isActiveWindow"</a> property for details.
<h3 class=fn>bool <a name="isDesktop"></a>TQWidget::isDesktop () const
-</h3><p>Returns TRUE if the widget is a desktop widget, i.e. represents the desktop; otherwise returns FALSE.
+</h3><p>Returns true if the widget is a desktop widget, i.e. represents the desktop; otherwise returns false.
See the <a href="tqwidget.html#isDesktop-prop">"isDesktop"</a> property for details.
<h3 class=fn>bool <a name="isDialog"></a>TQWidget::isDialog () const
-</h3><p>Returns TRUE if the widget is a dialog widget; otherwise returns FALSE.
+</h3><p>Returns true if the widget is a dialog widget; otherwise returns false.
See the <a href="tqwidget.html#isDialog-prop">"isDialog"</a> property for details.
<h3 class=fn>bool <a name="isEnabled"></a>TQWidget::isEnabled () const
-</h3><p>Returns TRUE if the widget is enabled; otherwise returns FALSE.
+</h3><p>Returns true if the widget is enabled; otherwise returns false.
See the <a href="tqwidget.html#enabled-prop">"enabled"</a> property for details.
<h3 class=fn>bool <a name="isEnabledTo"></a>TQWidget::isEnabledTo ( <a href="tqwidget.html">TQWidget</a>&nbsp;*&nbsp;ancestor ) const
</h3>
-Returns TRUE if this widget would become enabled if <em>ancestor</em> is
-enabled; otherwise returns FALSE.
+Returns true if this widget would become enabled if <em>ancestor</em> is
+enabled; otherwise returns false.
<p> This is the case if neither the widget itself nor every parent up
to but excluding <em>ancestor</em> has been explicitly disabled.
<p> <a href="#isEnabledTo">isEnabledTo</a>(0) is equivalent to <a href="#isEnabled">isEnabled</a>().
@@ -1321,48 +1321,48 @@ to but excluding <em>ancestor</em> has been explicitly disabled.
<p> This function is deprecated. It is equivalent to <a href="#isEnabled">isEnabled</a>()
<h3 class=fn>bool <a name="isFocusEnabled"></a>TQWidget::isFocusEnabled () const
-</h3><p>Returns TRUE if the widget accepts keyboard focus; otherwise returns FALSE.
+</h3><p>Returns true if the widget accepts keyboard focus; otherwise returns false.
See the <a href="tqwidget.html#focusEnabled-prop">"focusEnabled"</a> property for details.
<h3 class=fn>bool <a name="isFullScreen"></a>TQWidget::isFullScreen () const
-</h3><p>Returns TRUE if the widget is full screen; otherwise returns FALSE.
+</h3><p>Returns true if the widget is full screen; otherwise returns false.
See the <a href="tqwidget.html#fullScreen-prop">"fullScreen"</a> property for details.
<h3 class=fn>bool <a name="isHidden"></a>TQWidget::isHidden () const
-</h3><p>Returns TRUE if the widget is explicitly hidden; otherwise returns FALSE.
+</h3><p>Returns true if the widget is explicitly hidden; otherwise returns false.
See the <a href="tqwidget.html#hidden-prop">"hidden"</a> property for details.
<h3 class=fn>bool <a name="isInputMethodEnabled"></a>TQWidget::isInputMethodEnabled () const
</h3><p>Returns enables or disables the use of input methods for this widget.
See the <a href="tqwidget.html#inputMethodEnabled-prop">"inputMethodEnabled"</a> property for details.
<h3 class=fn>bool <a name="isMaximized"></a>TQWidget::isMaximized () const
-</h3><p>Returns TRUE if this widget is maximized; otherwise returns FALSE.
+</h3><p>Returns true if this widget is maximized; otherwise returns false.
See the <a href="tqwidget.html#maximized-prop">"maximized"</a> property for details.
<h3 class=fn>bool <a name="isMinimized"></a>TQWidget::isMinimized () const
-</h3><p>Returns TRUE if this widget is minimized (iconified); otherwise returns FALSE.
+</h3><p>Returns true if this widget is minimized (iconified); otherwise returns false.
See the <a href="tqwidget.html#minimized-prop">"minimized"</a> property for details.
<h3 class=fn>bool <a name="isModal"></a>TQWidget::isModal () const
-</h3><p>Returns TRUE if the widget is a modal widget; otherwise returns FALSE.
+</h3><p>Returns true if the widget is a modal widget; otherwise returns false.
See the <a href="tqwidget.html#isModal-prop">"isModal"</a> property for details.
<h3 class=fn>bool <a name="isPopup"></a>TQWidget::isPopup () const
-</h3><p>Returns TRUE if the widget is a popup widget; otherwise returns FALSE.
+</h3><p>Returns true if the widget is a popup widget; otherwise returns false.
See the <a href="tqwidget.html#isPopup-prop">"isPopup"</a> property for details.
<h3 class=fn>bool <a name="isShown"></a>TQWidget::isShown () const
-</h3><p>Returns TRUE if the widget is shown; otherwise returns FALSE.
+</h3><p>Returns true if the widget is shown; otherwise returns false.
See the <a href="tqwidget.html#shown-prop">"shown"</a> property for details.
<h3 class=fn>bool <a name="isTopLevel"></a>TQWidget::isTopLevel () const
-</h3><p>Returns TRUE if the widget is a top-level widget; otherwise returns FALSE.
+</h3><p>Returns true if the widget is a top-level widget; otherwise returns false.
See the <a href="tqwidget.html#isTopLevel-prop">"isTopLevel"</a> property for details.
<h3 class=fn>bool <a name="isUpdatesEnabled"></a>TQWidget::isUpdatesEnabled () const
-</h3><p>Returns TRUE if updates are enabled; otherwise returns FALSE.
+</h3><p>Returns true if updates are enabled; otherwise returns false.
See the <a href="tqwidget.html#updatesEnabled-prop">"updatesEnabled"</a> property for details.
<h3 class=fn>bool <a name="isVisible"></a>TQWidget::isVisible () const
-</h3><p>Returns TRUE if the widget is visible; otherwise returns FALSE.
+</h3><p>Returns true if the widget is visible; otherwise returns false.
See the <a href="tqwidget.html#visible-prop">"visible"</a> property for details.
<h3 class=fn>bool <a name="isVisibleTo"></a>TQWidget::isVisibleTo ( <a href="tqwidget.html">TQWidget</a>&nbsp;*&nbsp;ancestor ) const
</h3>
-Returns TRUE if this widget would become visible if <em>ancestor</em> is
-shown; otherwise returns FALSE.
-<p> The TRUE case occurs if neither the widget itself nor any parent
+Returns true if this widget would become visible if <em>ancestor</em> is
+shown; otherwise returns false.
+<p> The true case occurs if neither the widget itself nor any parent
up to but excluding <em>ancestor</em> has been explicitly hidden.
-<p> This function will still return TRUE if the widget is obscured by
+<p> This function will still return true if the widget is obscured by
other windows on the screen, but could be physically visible if it
or they were to be moved.
<p> <a href="#isVisibleTo">isVisibleTo</a>(0) is identical to <a href="#isVisible">isVisible</a>().
@@ -1443,7 +1443,7 @@ obscured by) any overlapping sibling widgets.
This special event handler can be reimplemented in a subclass to
receive native Macintosh events.
<p> In your reimplementation of this function, if you want to stop the
-event being handled by TQt, return TRUE. If you return FALSE, this
+event being handled by TQt, return true. If you return false, this
native event is passed back to TQt, which translates the event into
a TQt event and sends it to the widget.
<p> <b>Warning:</b> This function is not portable.
@@ -1595,13 +1595,13 @@ already at the new position.
<p> <p>See also <a href="#resizeEvent">resizeEvent</a>(), <a href="#event">event</a>(), <a href="#pos-prop">pos</a>, and <a href="tqmoveevent.html">TQMoveEvent</a>.
<h3 class=fn>bool <a name="ownCursor"></a>TQWidget::ownCursor () const
-</h3><p>Returns TRUE if the widget uses its own cursor; otherwise returns FALSE.
+</h3><p>Returns true if the widget uses its own cursor; otherwise returns false.
See the <a href="tqwidget.html#ownCursor-prop">"ownCursor"</a> property for details.
<h3 class=fn>bool <a name="ownFont"></a>TQWidget::ownFont () const
-</h3><p>Returns TRUE if the widget uses its own font; otherwise returns FALSE.
+</h3><p>Returns true if the widget uses its own font; otherwise returns false.
See the <a href="tqwidget.html#ownFont-prop">"ownFont"</a> property for details.
<h3 class=fn>bool <a name="ownPalette"></a>TQWidget::ownPalette () const
-</h3><p>Returns TRUE if the widget uses its own palette; otherwise returns FALSE.
+</h3><p>Returns true if the widget uses its own palette; otherwise returns false.
See the <a href="tqwidget.html#ownPalette-prop">"ownPalette"</a> property for details.
<h3 class=fn>void <a name="paintEvent"></a>TQWidget::paintEvent ( <a href="tqpaintevent.html">TQPaintEvent</a>&nbsp;* )<tt> [virtual protected]</tt>
</h3>
@@ -1657,11 +1657,11 @@ palette changes.
<h3 class=fn>const&nbsp;<a href="tqcolor.html">TQColor</a>&nbsp;&amp; <a name="paletteForegroundColor"></a>TQWidget::paletteForegroundColor () const
</h3><p>Returns the foreground color of the widget.
See the <a href="tqwidget.html#paletteForegroundColor-prop">"paletteForegroundColor"</a> property for details.
-<h3 class=fn><a href="tqwidget.html">TQWidget</a>&nbsp;* <a name="parentWidget"></a>TQWidget::parentWidget ( bool&nbsp;sameWindow = FALSE ) const
+<h3 class=fn><a href="tqwidget.html">TQWidget</a>&nbsp;* <a name="parentWidget"></a>TQWidget::parentWidget ( bool&nbsp;sameWindow = false ) const
</h3>
<p> Returns the parent of this widget, or 0 if it does not have any
-parent widget. If <em>sameWindow</em> is TRUE and the widget is top
+parent widget. If <em>sameWindow</em> is true and the widget is top
level returns 0; otherwise returns the widget's parent.
<p>Example: <a href="mdi-example.html#x2081">mdi/application.cpp</a>.
@@ -1692,7 +1692,7 @@ overlapping sibling widgets.
<p> <p>See also <a href="#lower">lower</a>() and <a href="#stackUnder">stackUnder</a>().
<p>Example: <a href="showimg-example.html#x1352">showimg/showimg.cpp</a>.
-<h3 class=fn>void <a name="recreate"></a>TQWidget::recreate ( <a href="tqwidget.html">TQWidget</a>&nbsp;*&nbsp;parent, WFlags&nbsp;f, const&nbsp;<a href="tqpoint.html">TQPoint</a>&nbsp;&amp;&nbsp;p, bool&nbsp;showIt = FALSE )
+<h3 class=fn>void <a name="recreate"></a>TQWidget::recreate ( <a href="tqwidget.html">TQWidget</a>&nbsp;*&nbsp;parent, WFlags&nbsp;f, const&nbsp;<a href="tqpoint.html">TQPoint</a>&nbsp;&amp;&nbsp;p, bool&nbsp;showIt = false )
</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.
@@ -1712,11 +1712,11 @@ Releases the keyboard grab.
Releases the mouse grab.
<p> <p>See also <a href="#grabMouse">grabMouse</a>(), <a href="#grabKeyboard">grabKeyboard</a>(), and <a href="#releaseKeyboard">releaseKeyboard</a>().
-<h3 class=fn>void <a name="repaint"></a>TQWidget::repaint ( int&nbsp;x, int&nbsp;y, int&nbsp;w, int&nbsp;h, bool&nbsp;erase = TRUE )<tt> [slot]</tt>
+<h3 class=fn>void <a name="repaint"></a>TQWidget::repaint ( int&nbsp;x, int&nbsp;y, int&nbsp;w, int&nbsp;h, bool&nbsp;erase = true )<tt> [slot]</tt>
</h3>
Repaints the widget directly by calling <a href="#paintEvent">paintEvent</a>() immediately,
unless updates are disabled or the widget is hidden.
-<p> If <em>erase</em> is TRUE, TQt erases the area <em>(x, y, w, h)</em> before the
+<p> If <em>erase</em> is true, TQt erases the area <em>(x, y, w, h)</em> before the
paintEvent() call.
<p> If <em>w</em> is negative, it is replaced with <tt>width() - x</tt>, and if
<em>h</em> is negative, it is replaced width <tt>height() - y</tt>.
@@ -1740,19 +1740,19 @@ This is an overloaded member function, provided for convenience. It behaves esse
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
<p> This version repaints the entire widget.
-<h3 class=fn>void <a name="repaint-4"></a>TQWidget::repaint ( const&nbsp;<a href="tqrect.html">TQRect</a>&nbsp;&amp;&nbsp;r, bool&nbsp;erase = TRUE )<tt> [slot]</tt>
+<h3 class=fn>void <a name="repaint-4"></a>TQWidget::repaint ( const&nbsp;<a href="tqrect.html">TQRect</a>&nbsp;&amp;&nbsp;r, bool&nbsp;erase = true )<tt> [slot]</tt>
</h3>
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
<p> Repaints the widget directly by calling <a href="#paintEvent">paintEvent</a>() directly,
unless updates are disabled or the widget is hidden.
-<p> Erases the widget region <em>r</em> if <em>erase</em> is TRUE.
+<p> Erases the widget region <em>r</em> if <em>erase</em> is true.
-<h3 class=fn>void <a name="repaint-5"></a>TQWidget::repaint ( const&nbsp;<a href="tqregion.html">TQRegion</a>&nbsp;&amp;&nbsp;reg, bool&nbsp;erase = TRUE )<tt> [slot]</tt>
+<h3 class=fn>void <a name="repaint-5"></a>TQWidget::repaint ( const&nbsp;<a href="tqregion.html">TQRegion</a>&nbsp;&amp;&nbsp;reg, bool&nbsp;erase = true )<tt> [slot]</tt>
</h3>
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
<p> Repaints the widget directly by calling <a href="#paintEvent">paintEvent</a>() directly,
unless updates are disabled or the widget is hidden.
-<p> Erases the widget region <em>reg</em> if <em>erase</em> is TRUE.
+<p> Erases the widget region <em>reg</em> if <em>erase</em> is true.
<p> Only use repaint if your widget needs to be repainted immediately,
for example when doing some animation. In all other cases, use
<a href="#update">update</a>(). Calling update() many times in a row will generate a
@@ -1762,12 +1762,12 @@ called from paintEvent(), you may get infinite recursion. The
update() function never causes recursion.
<p> <p>See also <a href="#update">update</a>(), <a href="#paintEvent">paintEvent</a>(), <a href="#updatesEnabled-prop">updatesEnabled</a>, and <a href="#erase">erase</a>().
-<h3 class=fn>void <a name="reparent"></a>TQWidget::reparent ( <a href="tqwidget.html">TQWidget</a>&nbsp;*&nbsp;parent, WFlags&nbsp;f, const&nbsp;<a href="tqpoint.html">TQPoint</a>&nbsp;&amp;&nbsp;p, bool&nbsp;showIt = FALSE )<tt> [virtual]</tt>
+<h3 class=fn>void <a name="reparent"></a>TQWidget::reparent ( <a href="tqwidget.html">TQWidget</a>&nbsp;*&nbsp;parent, WFlags&nbsp;f, const&nbsp;<a href="tqpoint.html">TQPoint</a>&nbsp;&amp;&nbsp;p, bool&nbsp;showIt = false )<tt> [virtual]</tt>
</h3>
Reparents the widget. The widget gets a new <em>parent</em>, new widget
flags (<em>f</em>, but as usual, use 0) at a new position in its new
parent (<em>p</em>).
-<p> If <em>showIt</em> is TRUE, <a href="#show">show</a>() is called once the widget has been
+<p> If <em>showIt</em> is true, <a href="#show">show</a>() is called once the widget has been
reparented.
<p> If the new parent widget is in a different top-level widget, the
reparented widget and its children are appended to the end of the
@@ -1784,7 +1784,7 @@ dynamically, it is far easier to use <a href="tqwidgetstack.html">TQWidgetStack<
<p> <p>See also <a href="#getWFlags">getWFlags</a>().
<p>Example: <a href="toplevel-example.html#x2538">toplevel/options.ui.h</a>.
-<h3 class=fn>void <a name="reparent-2"></a>TQWidget::reparent ( <a href="tqwidget.html">TQWidget</a>&nbsp;*&nbsp;parent, const&nbsp;<a href="tqpoint.html">TQPoint</a>&nbsp;&amp;&nbsp;p, bool&nbsp;showIt = FALSE )
+<h3 class=fn>void <a name="reparent-2"></a>TQWidget::reparent ( <a href="tqwidget.html">TQWidget</a>&nbsp;*&nbsp;parent, const&nbsp;<a href="tqpoint.html">TQPoint</a>&nbsp;&amp;&nbsp;p, bool&nbsp;showIt = false )
</h3>
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
<p> A convenience version of reparent that does not take widget flags
@@ -1916,7 +1916,7 @@ See the <a href="tqwidget.html#caption-prop">"caption"</a> property for details.
See the <a href="tqwidget.html#cursor-prop">"cursor"</a> property for details.
<h3 class=fn>void <a name="setDisabled"></a>TQWidget::setDisabled ( bool&nbsp;disable )<tt> [slot]</tt>
</h3>
-Disables widget input events if <em>disable</em> is TRUE; otherwise
+Disables widget input events if <em>disable</em> is true; otherwise
enables input events.
<p> See the <a href="#enabled-prop">enabled</a> documentation for more information.
<p> <p>See also <a href="#isEnabledTo">isEnabledTo</a>(), <a href="tqkeyevent.html">TQKeyEvent</a>, <a href="tqmouseevent.html">TQMouseEvent</a>, and <a href="#enabledChange">enabledChange</a>().
@@ -2029,8 +2029,8 @@ See the <a href="tqwidget.html#iconText-prop">"iconText"</a> property for detail
See the <a href="tqwidget.html#inputMethodEnabled-prop">"inputMethodEnabled"</a> property for details.
<h3 class=fn>void <a name="setKeyCompression"></a>TQWidget::setKeyCompression ( bool&nbsp;compress )<tt> [virtual protected]</tt>
</h3>
-Enables key event compression, if <em>compress</em> is TRUE, and
-disables it if <em>compress</em> is FALSE.
+Enables key event compression, if <em>compress</em> is true, and
+disables it if <em>compress</em> is false.
<p> Key compression is off by default (except for <a href="tqlineedit.html">TQLineEdit</a> and
<a href="tqtextedit.html">TQTextEdit</a>), so widgets receive one key press event for each key
press (or more, since autorepeat is usually on). If you turn it on
@@ -2091,18 +2091,18 @@ to <em>maxh</em>.
<h3 class=fn>void <a name="setMaximumWidth"></a>TQWidget::setMaximumWidth ( int&nbsp;maxw )
</h3><p>Sets the widget's maximum width to <em>maxw</em>.
See the <a href="tqwidget.html#maximumWidth-prop">"maximumWidth"</a> property for details.
-<h3 class=fn>void <a name="setMicroFocusHint"></a>TQWidget::setMicroFocusHint ( int&nbsp;x, int&nbsp;y, int&nbsp;width, int&nbsp;height, bool&nbsp;text = TRUE, <a href="tqfont.html">TQFont</a>&nbsp;*&nbsp;f = 0 )<tt> [virtual protected]</tt>
+<h3 class=fn>void <a name="setMicroFocusHint"></a>TQWidget::setMicroFocusHint ( int&nbsp;x, int&nbsp;y, int&nbsp;width, int&nbsp;height, bool&nbsp;text = true, <a href="tqfont.html">TQFont</a>&nbsp;*&nbsp;f = 0 )<tt> [virtual protected]</tt>
</h3>
When a widget gets focus, it should call <a href="#setMicroFocusHint">setMicroFocusHint</a>() with
some appropriate position and size, <em>x</em>, <em>y</em>, <em>width</em> and <em>height</em>. This has no <em>visual</em> effect, it just provides hints to
any system-specific input handling tools.
-<p> The <em>text</em> argument should be TRUE if this is a position for text
+<p> The <em>text</em> argument should be true if this is a position for text
input.
<p> In the Windows version of TQt, this method sets the system caret,
which is used for user Accessibility focus handling. If <em>text</em>
-is TRUE, it also sets the IME composition window in Far East Asian
+is true, it also sets the IME composition window in Far East Asian
language input systems.
-<p> In the X11 version of TQt, if <em>text</em> is TRUE, this method sets the
+<p> In the X11 version of TQt, if <em>text</em> is true, this method sets the
XIM "spot" point for complex language input handling.
<p> The font <em>f</em> is a rendering hint to the currently active input method.
If <em>f</em> is 0 the widget's font is used.
@@ -2160,7 +2160,7 @@ increment to <em>h</em>.
<h3 class=fn>void <a name="setSizePolicy"></a>TQWidget::setSizePolicy ( <a href="tqsizepolicy.html">TQSizePolicy</a> )<tt> [virtual]</tt>
</h3><p>Sets the default layout behavior of the widget.
See the <a href="tqwidget.html#sizePolicy-prop">"sizePolicy"</a> property for details.
-<h3 class=fn>void <a name="setSizePolicy-2"></a>TQWidget::setSizePolicy ( <a href="tqsizepolicy.html#SizeType-enum">TQSizePolicy::SizeType</a>&nbsp;hor, <a href="tqsizepolicy.html#SizeType-enum">TQSizePolicy::SizeType</a>&nbsp;ver, bool&nbsp;hfw = FALSE )
+<h3 class=fn>void <a name="setSizePolicy-2"></a>TQWidget::setSizePolicy ( <a href="tqsizepolicy.html#SizeType-enum">TQSizePolicy::SizeType</a>&nbsp;hor, <a href="tqsizepolicy.html#SizeType-enum">TQSizePolicy::SizeType</a>&nbsp;ver, bool&nbsp;hfw = false )
</h3>
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
<p> Sets the size policy of the widget to <em>hor</em>, <em>ver</em> and <em>hfw</em>
@@ -2229,7 +2229,7 @@ See the <a href="tqwidget.html#windowOpacity-prop">"windowOpacity"</a> property
<p> Sets the <a href="tqt.html#WindowState">window state</a> to <em>windowState</em>. The window state is a OR'ed
combination of TQt::WindowState: <a href="tqt.html#WindowState-enum">WindowMinimized</a>, <a href="tqt.html#WindowState-enum">WindowMaximized</a>, <a href="tqt.html#WindowState-enum">WindowFullScreen</a> and <a href="tqt.html#WindowState-enum">WindowActive</a>.
-<p> If the window is not visible (i.e. <a href="#isVisible">isVisible</a>() returns FALSE), the
+<p> If the window is not visible (i.e. <a href="#isVisible">isVisible</a>() returns false), the
window state will take effect when <a href="#show">show</a>() is called. For visible
windows, the change is immediate. For example, to toggle between
full-screen and mormal mode, use the following code:
@@ -2487,7 +2487,7 @@ See the <a href="tqwidget.html#width-prop">"width"</a> property for details.
This special event handler can be reimplemented in a subclass to
receive native Windows events.
<p> In your reimplementation of this function, if you want to stop the
-event being handled by TQt, return TRUE. If you return FALSE, this
+event being handled by TQt, return true. If you return false, this
native event is passed back to TQt, which translates the event into
a TQt event and sends it to the widget.
<p> <b>Warning:</b> This function is not portable.
@@ -2530,7 +2530,7 @@ See the <a href="tqwidget.html#x-prop">"x"</a> property for details.
This special event handler can be reimplemented in a subclass to
receive native X11 events.
<p> In your reimplementation of this function, if you want to stop the
-event being handled by TQt, return TRUE. If you return FALSE, this
+event being handled by TQt, return true. If you return false, this
native event is passed back to TQt, which translates the event into
a TQt event and sends it to the widget.
<p> <b>Warning:</b> This function is not portable.
@@ -2542,7 +2542,7 @@ See the <a href="tqwidget.html#y-prop">"y"</a> property for details.
<hr><h2>Property Documentation</h2>
<h3 class=fn>bool <a name="acceptDrops-prop"></a>acceptDrops</h3>
<p>This property holds whether drop events are enabled for this widget.
-<p>Setting this property to TRUE announces to the system that this
+<p>Setting this property to true announces to the system that this
widget <em>may</em> be able to accept drop events.
<p> If the widget is the desktop (<a href="#isDesktop">TQWidget::isDesktop</a>()), this may
fail if another application is using the desktop; you can call
@@ -2555,7 +2555,7 @@ Do not modify this property in a Drag&Drop event handler.
<p>This property holds whether the auto mask feature is enabled for the widget.
<p>Transparent widgets use a mask to define their visible region.
TQWidget has some built-in support to make the task of
-recalculating the mask easier. When setting auto mask to TRUE,
+recalculating the mask easier. When setting auto mask to true,
<a href="#updateMask">updateMask</a>() will be called whenever the widget is resized or
changes its focus state. Note that you must reimplement
updateMask() (which should include a call to <a href="#setMask">setMask</a>()) or nothing
@@ -2679,7 +2679,7 @@ on top-level widgets.
<p>Set this property's value with <a href="#setCursor">setCursor</a>(), get this property's value with <a href="#cursor">cursor</a>(), and reset this property's value with <a href="#unsetCursor">unsetCursor</a>().
<h3 class=fn>bool <a name="customWhatsThis-prop"></a>customWhatsThis</h3>
<p>This property holds whether the widget wants to handle What's This help manually.
-<p>The default implementation of <a href="#customWhatsThis">customWhatsThis</a>() returns FALSE,
+<p>The default implementation of <a href="#customWhatsThis">customWhatsThis</a>() returns false,
which means the widget will not receive any events in Whats This
mode.
<p> The widget may leave What's This mode by calling
@@ -2798,7 +2798,7 @@ for an overview of top-level widget geometry.
<p>Get this property's value with <a href="#height">height</a>().
<h3 class=fn>bool <a name="hidden-prop"></a>hidden</h3>
<p>This property holds whether the widget is explicitly hidden.
-<p>If FALSE, the widget is visible or would become visible if all its
+<p>If false, the widget is visible or would become visible if all its
ancestors became visible.
<p> <p>See also <a href="#hide">hide</a>(), <a href="#show">show</a>(), <a href="#visible-prop">visible</a>, <a href="#isVisibleTo">isVisibleTo</a>(), and <a href="#shown-prop">shown</a>.
@@ -2821,14 +2821,14 @@ text has been set, this functions returns <a href="tqstring.html#TQString-null">
<p>This property holds enables or disables the use of input methods for this widget.
<p>Most Widgets (as eg. buttons) that do not handle text input should have
the input method disabled if they have focus. This is the default.
-<p> If a widget handles text input it should set this property to TRUE.
+<p> If a widget handles text input it should set this property to true.
<p>Set this property's value with <a href="#setInputMethodEnabled">setInputMethodEnabled</a>() and get this property's value with <a href="#isInputMethodEnabled">isInputMethodEnabled</a>().
<h3 class=fn>bool <a name="isActiveWindow-prop"></a>isActiveWindow</h3>
<p>This property holds whether this widget is the active window.
<p>The active window is the window that contains the widget
that has <a href="focus.html#keyboard-focus">keyboard focus</a>.
-<p> When popup windows are visible, this property is TRUE for both the
+<p> When popup windows are visible, this property is true for both the
active window <em>and</em> for the popup.
<p> <p>See also <a href="#setActiveWindow">setActiveWindow</a>() and <a href="tqapplication.html#activeWindow">TQApplication::activeWindow</a>().
@@ -2965,19 +2965,19 @@ events even if no buttons are pressed.
<p>Set this property's value with <a href="#setMouseTracking">setMouseTracking</a>() and get this property's value with <a href="#hasMouseTracking">hasMouseTracking</a>().
<h3 class=fn>bool <a name="ownCursor-prop"></a>ownCursor</h3>
<p>This property holds whether the widget uses its own cursor.
-<p>If FALSE, the widget uses its parent widget's cursor.
+<p>If false, the widget uses its parent widget's cursor.
<p> <p>See also <a href="#cursor-prop">cursor</a>.
<p>Get this property's value with <a href="#ownCursor">ownCursor</a>().
<h3 class=fn>bool <a name="ownFont-prop"></a>ownFont</h3>
<p>This property holds whether the widget uses its own font.
-<p>If FALSE, the widget uses its parent widget's font.
+<p>If false, the widget uses its parent widget's font.
<p> <p>See also <a href="#font-prop">font</a>.
<p>Get this property's value with <a href="#ownFont">ownFont</a>().
<h3 class=fn>bool <a name="ownPalette-prop"></a>ownPalette</h3>
<p>This property holds whether the widget uses its own palette.
-<p>If FALSE, the widget uses its parent widget's palette.
+<p>If false, the widget uses its parent widget's palette.
<p> <p>See also <a href="#palette-prop">palette</a>.
<p>Get this property's value with <a href="#ownPalette">ownPalette</a>().
@@ -3063,7 +3063,7 @@ for an overview of top-level widget geometry.
<p>Get this property's value with <a href="#rect">rect</a>().
<h3 class=fn>bool <a name="shown-prop"></a>shown</h3>
<p>This property holds whether the widget is shown.
-<p>If TRUE, the widget is visible or would become visible if all its
+<p>If true, the widget is visible or would become visible if all its
ancestors became visible.
<p> <p>See also <a href="#hide">hide</a>(), <a href="#show">show</a>(), <a href="#visible-prop">visible</a>, <a href="#isVisibleTo">isVisibleTo</a>(), and <a href="#hidden-prop">hidden</a>.
@@ -3154,9 +3154,9 @@ short period of time, for instance to avoid screen flicker during
large changes.
<p> Example:
<pre>
- <a href="#setUpdatesEnabled">setUpdatesEnabled</a>( FALSE );
+ <a href="#setUpdatesEnabled">setUpdatesEnabled</a>( false );
bigVisualChanges();
- <a href="#setUpdatesEnabled">setUpdatesEnabled</a>( TRUE );
+ <a href="#setUpdatesEnabled">setUpdatesEnabled</a>( true );
<a href="#repaint">repaint</a>();
</pre>