summaryrefslogtreecommitdiffstats
path: root/doc/html/tqapplication.html
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-08-06 11:29:57 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-08-06 11:29:57 +0900
commitdcce5b1f2c449ed9a02b1752e0d74f147a83d07d (patch)
treed57fe27457a96451f1a67e2a2db268a441d917fc /doc/html/tqapplication.html
parent649c4c61a1f1f479f4532b196f68df476cef2680 (diff)
downloadtqt-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/tqapplication.html')
-rw-r--r--doc/html/tqapplication.html152
1 files changed, 76 insertions, 76 deletions
diff --git a/doc/html/tqapplication.html b/doc/html/tqapplication.html
index 30de0a415..12d312087 100644
--- a/doc/html/tqapplication.html
+++ b/doc/html/tqapplication.html
@@ -83,7 +83,7 @@ flow and main settings.
<li class=fn>virtual void <a href="#saveState"><b>saveState</b></a> ( TQSessionManager&nbsp;&amp;&nbsp;sm )</li>
<li class=fn>void <a href="#wakeUpCoreThread"><b>wakeUpCoreThread</b></a> ()</li>
<li class=fn>void <a href="#lock"><b>lock</b></a> ()</li>
-<li class=fn>void <a href="#unlock"><b>unlock</b></a> ( bool&nbsp;wakeUpCore = TRUE )</li>
+<li class=fn>void <a href="#unlock"><b>unlock</b></a> ( bool&nbsp;wakeUpCore = true )</li>
<li class=fn>bool <a href="#locked"><b>locked</b></a> ()</li>
<li class=fn>bool <a href="#tryLock"><b>tryLock</b></a> ()</li>
</ul>
@@ -107,14 +107,14 @@ flow and main settings.
<li class=fn>int <a href="#colorSpec"><b>colorSpec</b></a> ()</li>
<li class=fn>void <a href="#setColorSpec"><b>setColorSpec</b></a> ( int&nbsp;spec )</li>
<li class=fn>TQCursor * <a href="#overrideCursor"><b>overrideCursor</b></a> ()</li>
-<li class=fn>void <a href="#setOverrideCursor"><b>setOverrideCursor</b></a> ( const&nbsp;TQCursor&nbsp;&amp;&nbsp;cursor, bool&nbsp;replace = FALSE )</li>
+<li class=fn>void <a href="#setOverrideCursor"><b>setOverrideCursor</b></a> ( const&nbsp;TQCursor&nbsp;&amp;&nbsp;cursor, bool&nbsp;replace = false )</li>
<li class=fn>void <a href="#restoreOverrideCursor"><b>restoreOverrideCursor</b></a> ()</li>
<li class=fn>bool <a href="#hasGlobalMouseTracking"><b>hasGlobalMouseTracking</b></a> ()</li>
<li class=fn>void <a href="#setGlobalMouseTracking"><b>setGlobalMouseTracking</b></a> ( bool&nbsp;enable )</li>
<li class=fn>TQPalette <a href="#palette"><b>palette</b></a> ( const&nbsp;TQWidget&nbsp;*&nbsp;w = 0 )</li>
-<li class=fn>void <a href="#setPalette"><b>setPalette</b></a> ( const&nbsp;TQPalette&nbsp;&amp;&nbsp;palette, bool&nbsp;informWidgets = FALSE, const&nbsp;char&nbsp;*&nbsp;className = 0 )</li>
+<li class=fn>void <a href="#setPalette"><b>setPalette</b></a> ( const&nbsp;TQPalette&nbsp;&amp;&nbsp;palette, bool&nbsp;informWidgets = false, const&nbsp;char&nbsp;*&nbsp;className = 0 )</li>
<li class=fn>TQFont <a href="#font"><b>font</b></a> ( const&nbsp;TQWidget&nbsp;*&nbsp;w = 0 )</li>
-<li class=fn>void <a href="#setFont"><b>setFont</b></a> ( const&nbsp;TQFont&nbsp;&amp;&nbsp;font, bool&nbsp;informWidgets = FALSE, const&nbsp;char&nbsp;*&nbsp;className = 0 )</li>
+<li class=fn>void <a href="#setFont"><b>setFont</b></a> ( const&nbsp;TQFont&nbsp;&amp;&nbsp;font, bool&nbsp;informWidgets = false, const&nbsp;char&nbsp;*&nbsp;className = 0 )</li>
<li class=fn>TQFontMetrics <a href="#fontMetrics"><b>fontMetrics</b></a> ()</li>
<li class=fn>TQWidgetList * <a href="#allWidgets"><b>allWidgets</b></a> ()</li>
<li class=fn>TQWidgetList * <a href="#topLevelWidgets"><b>topLevelWidgets</b></a> ()</li>
@@ -122,8 +122,8 @@ flow and main settings.
<li class=fn>TQWidget * <a href="#activePopupWidget"><b>activePopupWidget</b></a> ()</li>
<li class=fn>TQWidget * <a href="#activeModalWidget"><b>activeModalWidget</b></a> ()</li>
<li class=fn>TQClipboard * <a href="#clipboard"><b>clipboard</b></a> ()</li>
-<li class=fn>TQWidget * <a href="#widgetAt"><b>widgetAt</b></a> ( int&nbsp;x, int&nbsp;y, bool&nbsp;child = FALSE )</li>
-<li class=fn>TQWidget * <a href="#widgetAt-2"><b>widgetAt</b></a> ( const&nbsp;TQPoint&nbsp;&amp;&nbsp;pos, bool&nbsp;child = FALSE )</li>
+<li class=fn>TQWidget * <a href="#widgetAt"><b>widgetAt</b></a> ( int&nbsp;x, int&nbsp;y, bool&nbsp;child = false )</li>
+<li class=fn>TQWidget * <a href="#widgetAt-2"><b>widgetAt</b></a> ( const&nbsp;TQPoint&nbsp;&amp;&nbsp;pos, bool&nbsp;child = false )</li>
<li class=fn>TQEventLoop * <a href="#eventLoop"><b>eventLoop</b></a> ()</li>
<li class=fn>void <a href="#exit"><b>exit</b></a> ( int&nbsp;retcode = 0 )</li>
<li class=fn>bool <a href="#sendEvent"><b>sendEvent</b></a> ( TQObject&nbsp;*&nbsp;receiver, TQEvent&nbsp;*&nbsp;event )</li>
@@ -161,7 +161,7 @@ flow and main settings.
<li class=fn>bool <a href="#reverseLayout"><b>reverseLayout</b></a> ()</li>
<li class=fn>int <a href="#horizontalAlignment"><b>horizontalAlignment</b></a> ( int&nbsp;align )</li>
<li class=fn>bool <a href="#isEffectEnabled"><b>isEffectEnabled</b></a> ( TQt::UIEffect&nbsp;effect )</li>
-<li class=fn>void <a href="#setEffectEnabled"><b>setEffectEnabled</b></a> ( TQt::UIEffect&nbsp;effect, bool&nbsp;enable = TRUE )</li>
+<li class=fn>void <a href="#setEffectEnabled"><b>setEffectEnabled</b></a> ( TQt::UIEffect&nbsp;effect, bool&nbsp;enable = true )</li>
</ul>
<h2>Related Functions</h2>
<ul>
@@ -448,12 +448,12 @@ on an 8-bit display.
<h3 class=fn><a name="TQApplication-2"></a>TQApplication::TQApplication ( int&nbsp;&amp;&nbsp;argc, char&nbsp;**&nbsp;argv, bool&nbsp;GUIenabled )
</h3>
Constructs an application object with <em>argc</em> command line arguments
-in <em>argv</em>. If <em>GUIenabled</em> is TRUE, a GUI application is
+in <em>argv</em>. If <em>GUIenabled</em> is true, a GUI application is
constructed, otherwise a non-GUI (console) application is created.
-<p> Set <em>GUIenabled</em> to FALSE for programs without a graphical user
+<p> Set <em>GUIenabled</em> to false for programs without a graphical user
interface that should be able to run without a window system.
-<p> On X11, the window system is initialized if <em>GUIenabled</em> is TRUE.
-If <em>GUIenabled</em> is FALSE, the application does not connect to the
+<p> On X11, the window system is initialized if <em>GUIenabled</em> is true.
+If <em>GUIenabled</em> is false, the application does not connect to the
X-server.
On Windows and Macintosh, currently the window system is always
initialized, regardless of the value of GUIenabled. This may change in
@@ -466,7 +466,7 @@ uses a graphical interface when available.
#ifdef TQ_WS_X11
bool useGUI = getenv( "DISPLAY" ) != 0;
#else
- bool useGUI = TRUE;
+ bool useGUI = true;
#endif
TQApplication app(argc, argv, useGUI);
@@ -534,7 +534,7 @@ this state.
Returns the active modal widget.
<p> A modal widget is a special top level widget which is a subclass of
<a href="tqdialog.html">TQDialog</a> that specifies the modal parameter of the constructor as
-TRUE. A modal widget must be closed before the user can continue
+true. A modal widget must be closed before the user can continue
with other parts of the program.
<p> Modal widgets are organized in a stack. This function returns
the active modal widget at the top of the stack.
@@ -700,8 +700,8 @@ accept the close event.
<p>Examples: <a href="tqaction-application-example.html#x1127">action/application.cpp</a>, <a href="simple-application-example.html#x1544">application/application.cpp</a>, <a href="helpviewer-example.html#x980">helpviewer/helpwindow.cpp</a>, <a href="mdi-example.html#x2020">mdi/application.cpp</a>, and <a href="qwerty-example.html#x358">qwerty/qwerty.cpp</a>.
<h3 class=fn>bool <a name="closingDown"></a>TQApplication::closingDown ()<tt> [static]</tt>
</h3>
-Returns TRUE if the application objects are being destroyed;
-otherwise returns FALSE.
+Returns true if the application objects are being destroyed;
+otherwise returns false.
<p> <p>See also <a href="#startingUp">startingUp</a>().
<h3 class=fn>int <a name="colorSpec"></a>TQApplication::colorSpec ()<tt> [static]</tt>
@@ -763,7 +763,7 @@ not work on all operating systems.
<p>Examples: <a href="canvas-example.html#x2958">canvas/main.cpp</a>, <a href="desktop-example.html#x1721">desktop/desktop.cpp</a>, <a href="helpviewer-example.html#x1037">helpviewer/main.cpp</a>, <a href="i18n-example.html#x1928">i18n/main.cpp</a>, <a href="qmag-example.html#x1765">qmag/qmag.cpp</a>, <a href="qwerty-example.html#x414">qwerty/main.cpp</a>, and <a href="scribble-example.html#x954">scribble/main.cpp</a>.
<h3 class=fn>bool <a name="desktopSettingsAware"></a>TQApplication::desktopSettingsAware ()<tt> [static]</tt>
</h3>
-Returns the value set by <a href="#setDesktopSettingsAware">setDesktopSettingsAware</a>(); by default TRUE.
+Returns the value set by <a href="#setDesktopSettingsAware">setDesktopSettingsAware</a>(); by default true.
<p> <p>See also <a href="#setDesktopSettingsAware">setDesktopSettingsAware</a>().
<h3 class=fn>int <a name="doubleClickInterval"></a>TQApplication::doubleClickInterval ()<tt> [static]</tt>
@@ -884,14 +884,14 @@ that could block.
<h3 class=fn>bool <a name="hasGlobalMouseTracking"></a>TQApplication::hasGlobalMouseTracking ()<tt> [static]</tt>
</h3>
-<p> Returns TRUE if global mouse tracking is enabled; otherwise
-returns FALSE.
+<p> Returns true if global mouse tracking is enabled; otherwise
+returns false.
<p> <p>See also <a href="#setGlobalMouseTracking">setGlobalMouseTracking</a>().
<h3 class=fn>bool <a name="hasPendingEvents"></a>TQApplication::hasPendingEvents ()
</h3>
-This function returns TRUE if there are pending events; otherwise
-returns FALSE. Pending events can be either from the window system
+This function returns true if there are pending events; otherwise
+returns false. Pending events can be either from the window system
or posted events using <a href="#postEvent">TQApplication::postEvent</a>().
<h3 class=fn>int <a name="horizontalAlignment"></a>TQApplication::horizontalAlignment ( int&nbsp;align )<tt> [static]</tt>
@@ -915,9 +915,9 @@ soon as a matching translation is found.
<p>Example: <a href="i18n-example.html#x1930">i18n/main.cpp</a>.
<h3 class=fn>bool <a name="isEffectEnabled"></a>TQApplication::isEffectEnabled ( <a href="tqt.html#UIEffect-enum">TQt::UIEffect</a>&nbsp;effect )<tt> [static]</tt>
</h3>
-Returns TRUE if <em>effect</em> is enabled; otherwise returns FALSE.
+Returns true if <em>effect</em> is enabled; otherwise returns false.
<p> By default, TQt will try to use the desktop settings. Call
-<a href="#setDesktopSettingsAware">setDesktopSettingsAware</a>(FALSE) to prevent this.
+<a href="#setDesktopSettingsAware">setDesktopSettingsAware</a>(false) to prevent this.
<p> Note: All effects are disabled on screens running at less than
16-bit color depth.
<p> <p>See also <a href="#setEffectEnabled">setEffectEnabled</a>() and <a href="tqt.html#UIEffect-enum">TQt::UIEffect</a>.
@@ -925,8 +925,8 @@ Returns TRUE if <em>effect</em> is enabled; otherwise returns FALSE.
<h3 class=fn>bool <a name="isSessionRestored"></a>TQApplication::isSessionRestored () const
</h3>
-<p> Returns TRUE if the application has been restored from an earlier
-<a href="session.html">session</a>; otherwise returns FALSE.
+<p> Returns true if the application has been restored from an earlier
+<a href="session.html">session</a>; otherwise returns false.
<p> <p>See also <a href="#sessionId">sessionId</a>(), <a href="#commitData">commitData</a>(), and <a href="#saveState">saveState</a>().
<h3 class=fn>void <a name="lastWindowClosed"></a>TQApplication::lastWindowClosed ()<tt> [signal]</tt>
@@ -975,8 +975,8 @@ unlocked the mutex.
<h3 class=fn>bool <a name="locked"></a>TQApplication::locked ()
</h3>
-<p> Returns TRUE if the TQt Library Mutex is locked by a different thread;
-otherwise returns FALSE.
+<p> Returns true if the TQt Library Mutex is locked by a different thread;
+otherwise returns false.
<p> <b>Warning:</b> Due to different implementations of recursive mutexes on
the supported platforms, calling this function from the same thread
that previously locked the mutex will give undefined results.
@@ -994,8 +994,8 @@ This virtual function is only implemented under Macintosh.
<p> If you create an application that inherits TQApplication and
reimplement this function, you get direct access to all Carbon Events
that are received from the MacOS.
-<p> Return TRUE if you want to stop the event from being processed.
-Return FALSE for normal event dispatching.
+<p> Return true if you want to stop the event from being processed.
+Return false for normal event dispatching.
<h3 class=fn><a href="tqwidget.html">TQWidget</a>&nbsp;* <a name="mainWidget"></a>TQApplication::mainWidget () const
</h3>
@@ -1011,7 +1011,7 @@ Returns the value that is returned from the receiver's event handler.
<p> For certain types of events (e.g. mouse and key events),
the event will be propagated to the receiver's parent and so on up to
the top-level object if the receiver is not interested in the event
-(i.e., it returns FALSE).
+(i.e., it returns false).
<p> There are five different ways that events can be processed;
reimplementing this virtual function is just one of them. All five
approaches are listed below:
@@ -1158,8 +1158,8 @@ cursors.
<p>Examples: <a href="distributor-example.html#x2652">distributor/distributor.ui.h</a>, <a href="archivesearch-example.html#x473">network/archivesearch/archivedialog.ui.h</a>, <a href="ftpclient-example.html#x737">network/ftpclient/ftpmainwindow.ui.h</a>, and <a href="showimg-example.html#x1311">showimg/showimg.cpp</a>.
<h3 class=fn>bool <a name="reverseLayout"></a>TQApplication::reverseLayout ()<tt> [static]</tt>
</h3>
-Returns TRUE if all dialogs and widgets will be laid out in a
-mirrored (right to left) fashion. Returns FALSE if dialogs and
+Returns true if all dialogs and widgets will be laid out in a
+mirrored (right to left) fashion. Returns false if dialogs and
widgets will be laid out left to right.
<p> <p>See also <a href="#setReverseLayout">setReverseLayout</a>().
@@ -1318,12 +1318,12 @@ cursor flash time for all windows.
By default, TQt will try to use the current standard colors, fonts
etc., from the underlying window system's desktop settings,
and use them for all relevant widgets. This behavior can be switched off
-by calling this function with <em>on</em> set to FALSE.
+by calling this function with <em>on</em> set to false.
<p> This static function must be called before creating the TQApplication
object, like this:
<p> <pre>
int main( int argc, char** argv ) {
- TQApplication::<a href="#setDesktopSettingsAware">setDesktopSettingsAware</a>( FALSE ); // I know better than the user
+ TQApplication::<a href="#setDesktopSettingsAware">setDesktopSettingsAware</a>( false ); // I know better than the user
TQApplication myApp( argc, argv ); // Use default fonts &amp; colors
...
}
@@ -1339,18 +1339,18 @@ consecutive mouse clicks to <em>ms</em> milliseconds.
double click interval for all windows.
<p> <p>See also <a href="#doubleClickInterval">doubleClickInterval</a>().
-<h3 class=fn>void <a name="setEffectEnabled"></a>TQApplication::setEffectEnabled ( <a href="tqt.html#UIEffect-enum">TQt::UIEffect</a>&nbsp;effect, bool&nbsp;enable = TRUE )<tt> [static]</tt>
+<h3 class=fn>void <a name="setEffectEnabled"></a>TQApplication::setEffectEnabled ( <a href="tqt.html#UIEffect-enum">TQt::UIEffect</a>&nbsp;effect, bool&nbsp;enable = true )<tt> [static]</tt>
</h3>
-Enables the UI effect <em>effect</em> if <em>enable</em> is TRUE, otherwise
+Enables the UI effect <em>effect</em> if <em>enable</em> is true, otherwise
the effect will not be used.
<p> Note: All effects are disabled on screens running at less than
16-bit color depth.
<p> <p>See also <a href="#isEffectEnabled">isEffectEnabled</a>(), <a href="tqt.html#UIEffect-enum">TQt::UIEffect</a>, and <a href="#setDesktopSettingsAware">setDesktopSettingsAware</a>().
-<h3 class=fn>void <a name="setFont"></a>TQApplication::setFont ( const&nbsp;<a href="tqfont.html">TQFont</a>&nbsp;&amp;&nbsp;font, bool&nbsp;informWidgets = FALSE, const&nbsp;char&nbsp;*&nbsp;className = 0 )<tt> [static]</tt>
-</h3> Changes the default application font to <em>font</em>. If <em>informWidgets</em> is TRUE, then existing widgets are informed about the
+<h3 class=fn>void <a name="setFont"></a>TQApplication::setFont ( const&nbsp;<a href="tqfont.html">TQFont</a>&nbsp;&amp;&nbsp;font, bool&nbsp;informWidgets = false, const&nbsp;char&nbsp;*&nbsp;className = 0 )<tt> [static]</tt>
+</h3> Changes the default application font to <em>font</em>. If <em>informWidgets</em> is true, then existing widgets are informed about the
change and may adjust themselves to the new application
-setting. If <em>informWidgets</em> is FALSE, the change only affects newly
+setting. If <em>informWidgets</em> is false, the change only affects newly
created widgets. If <em>className</em> is passed, the change applies only
to classes that inherit <em>className</em> (as reported by
<a href="tqobject.html#inherits">TQObject::inherits</a>()).
@@ -1364,25 +1364,25 @@ extra-large fonts to support their special characters.
<p>Examples: <a href="desktop-example.html#x1724">desktop/desktop.cpp</a>, <a href="themes-example.html#x266">themes/metal.cpp</a>, and <a href="themes-example.html#x323">themes/themes.cpp</a>.
<h3 class=fn>void <a name="setGlobalMouseTracking"></a>TQApplication::setGlobalMouseTracking ( bool&nbsp;enable )<tt> [static]</tt>
</h3>
-Enables global mouse tracking if <em>enable</em> is TRUE, or disables it
-if <em>enable</em> is FALSE.
+Enables global mouse tracking if <em>enable</em> is true, or disables it
+if <em>enable</em> is false.
<p> Enabling global mouse tracking makes it possible for widget event
filters or application event filters to get all mouse move events,
even when no button is depressed. This is useful for special GUI
elements, e.g. tooltips.
<p> Global mouse tracking does not affect widgets and their
mouseMoveEvent(). For a widget to get mouse move events when no
-button is depressed, it must do <a href="tqwidget.html#setMouseTracking">TQWidget::setMouseTracking</a>(TRUE).
+button is depressed, it must do <a href="tqwidget.html#setMouseTracking">TQWidget::setMouseTracking</a>(true).
<p> This function uses an internal counter. Each
-<a href="#setGlobalMouseTracking">setGlobalMouseTracking</a>(TRUE) must have a corresponding
-setGlobalMouseTracking(FALSE):
+<a href="#setGlobalMouseTracking">setGlobalMouseTracking</a>(true) must have a corresponding
+setGlobalMouseTracking(false):
<pre>
// at this point global mouse tracking is off
- TQApplication::<a href="#setGlobalMouseTracking">setGlobalMouseTracking</a>( TRUE );
- TQApplication::<a href="#setGlobalMouseTracking">setGlobalMouseTracking</a>( TRUE );
- TQApplication::<a href="#setGlobalMouseTracking">setGlobalMouseTracking</a>( FALSE );
+ TQApplication::<a href="#setGlobalMouseTracking">setGlobalMouseTracking</a>( true );
+ TQApplication::<a href="#setGlobalMouseTracking">setGlobalMouseTracking</a>( true );
+ TQApplication::<a href="#setGlobalMouseTracking">setGlobalMouseTracking</a>( false );
// at this point it's still on
- TQApplication::<a href="#setGlobalMouseTracking">setGlobalMouseTracking</a>( FALSE );
+ TQApplication::<a href="#setGlobalMouseTracking">setGlobalMouseTracking</a>( false );
// but now it's off
</pre>
@@ -1430,7 +1430,7 @@ calling <a href="#setMainWidget">setMainWidget</a>().
<p> <p>See also <a href="#mainWidget">mainWidget</a>(), <a href="#exec">exec</a>(), and <a href="#quit">quit</a>().
<p>Examples: <a href="tutorial2-04.html#x2560">chart/main.cpp</a>, <a href="helpsystem-example.html#x2701">helpsystem/main.cpp</a>, <a href="tqdialog.html#x2133">life/main.cpp</a>, <a href="ftpclient-example.html#x779">network/ftpclient/main.cpp</a>, <a href="tutorial1-01.html#x2284">t1/main.cpp</a>, and <a href="tutorial1-04.html#x2305">t4/main.cpp</a>.
-<h3 class=fn>void <a name="setOverrideCursor"></a>TQApplication::setOverrideCursor ( const&nbsp;<a href="tqcursor.html">TQCursor</a>&nbsp;&amp;&nbsp;cursor, bool&nbsp;replace = FALSE )<tt> [static]</tt>
+<h3 class=fn>void <a name="setOverrideCursor"></a>TQApplication::setOverrideCursor ( const&nbsp;<a href="tqcursor.html">TQCursor</a>&nbsp;&amp;&nbsp;cursor, bool&nbsp;replace = false )<tt> [static]</tt>
</h3>
Sets the application override cursor to <em>cursor</em>.
<p> Application override cursors are intended for showing the user
@@ -1445,9 +1445,9 @@ restoreOverrideCursor() pops the active cursor off the stack.
Every setOverrideCursor() must eventually be followed by a
corresponding restoreOverrideCursor(), otherwise the stack will
never be emptied.
-<p> If <em>replace</em> is TRUE, the new cursor will replace the last
+<p> If <em>replace</em> is true, the new cursor will replace the last
override cursor (the stack keeps its depth). If <em>replace</em> is
-FALSE, the new stack is pushed onto the top of the stack.
+false, the new stack is pushed onto the top of the stack.
<p> Example:
<pre>
TQApplication::<a href="#setOverrideCursor">setOverrideCursor</a>( TQCursor(TQt::<a href="tqt.html#CursorShape-enum">WaitCursor</a>) );
@@ -1458,11 +1458,11 @@ FALSE, the new stack is pushed onto the top of the stack.
<p> <p>See also <a href="#overrideCursor">overrideCursor</a>(), <a href="#restoreOverrideCursor">restoreOverrideCursor</a>(), and <a href="tqwidget.html#cursor-prop">TQWidget::cursor</a>.
<p>Examples: <a href="distributor-example.html#x2653">distributor/distributor.ui.h</a>, <a href="archivesearch-example.html#x474">network/archivesearch/archivedialog.ui.h</a>, <a href="ftpclient-example.html#x738">network/ftpclient/ftpmainwindow.ui.h</a>, and <a href="showimg-example.html#x1312">showimg/showimg.cpp</a>.
-<h3 class=fn>void <a name="setPalette"></a>TQApplication::setPalette ( const&nbsp;<a href="tqpalette.html">TQPalette</a>&nbsp;&amp;&nbsp;palette, bool&nbsp;informWidgets = FALSE, const&nbsp;char&nbsp;*&nbsp;className = 0 )<tt> [static]</tt>
+<h3 class=fn>void <a name="setPalette"></a>TQApplication::setPalette ( const&nbsp;<a href="tqpalette.html">TQPalette</a>&nbsp;&amp;&nbsp;palette, bool&nbsp;informWidgets = false, const&nbsp;char&nbsp;*&nbsp;className = 0 )<tt> [static]</tt>
</h3>
-Changes the default application palette to <em>palette</em>. If <em>informWidgets</em> is TRUE, then existing widgets are informed about the
+Changes the default application palette to <em>palette</em>. If <em>informWidgets</em> is true, then existing widgets are informed about the
change and may adjust themselves to the new application
-setting. If <em>informWidgets</em> is FALSE, the change only affects newly
+setting. If <em>informWidgets</em> is false, the change only affects newly
created widgets.
<p> If <em>className</em> is passed, the change applies only to widgets that
inherit <em>className</em> (as reported by <a href="tqobject.html#inherits">TQObject::inherits</a>()). If
@@ -1475,9 +1475,9 @@ any previously set class specific palettes.
<p>Examples: <a href="i18n-example.html#x1934">i18n/main.cpp</a>, <a href="themes-example.html#x267">themes/metal.cpp</a>, <a href="themes-example.html#x324">themes/themes.cpp</a>, and <a href="themes-example.html#x187">themes/wood.cpp</a>.
<h3 class=fn>void <a name="setReverseLayout"></a>TQApplication::setReverseLayout ( bool&nbsp;b )<tt> [static]</tt>
</h3>
-If <em>b</em> is TRUE, all dialogs and widgets will be laid out in a
+If <em>b</em> is true, all dialogs and widgets will be laid out in a
mirrored fashion, as required by right to left languages such as
-Arabic and Hebrew. If <em>b</em> is FALSE, dialogs and widgets are laid
+Arabic and Hebrew. If <em>b</em> is false, dialogs and widgets are laid
out left to right.
<p> Changing this flag in runtime does not cause a relayout of already
instantiated widgets.
@@ -1573,8 +1573,8 @@ for starting a drag.
<h3 class=fn>bool <a name="startingUp"></a>TQApplication::startingUp ()<tt> [static]</tt>
</h3>
-Returns TRUE if an application object has not been created yet;
-otherwise returns FALSE.
+Returns true if an application object has not been created yet;
+otherwise returns false.
<p> <p>See also <a href="#closingDown">closingDown</a>().
<h3 class=fn><a href="tqstyle.html">TQStyle</a>&nbsp;&amp; <a name="style"></a>TQApplication::style ()<tt> [static]</tt>
@@ -1645,8 +1645,8 @@ so will most likely result in crashes or other undesirable behavior.
<h3 class=fn>bool <a name="tryLock"></a>TQApplication::tryLock ()
</h3>
<p> Attempts to lock the TQt Library Mutex, and returns immediately. If
-the lock was obtained, this function returns TRUE. If another thread
-has locked the mutex, this function returns FALSE, instead of
+the lock was obtained, this function returns true. If another thread
+has locked the mutex, this function returns false, instead of
waiting for the lock to become available.
<p> The mutex must be unlocked with <a href="#unlock">unlock</a>() before another thread can
successfully lock it.
@@ -1656,9 +1656,9 @@ successfully lock it.
</h3>
Returns the type of application, Tty, GuiClient or GuiServer.
-<h3 class=fn>void <a name="unlock"></a>TQApplication::unlock ( bool&nbsp;wakeUpCore = TRUE )
+<h3 class=fn>void <a name="unlock"></a>TQApplication::unlock ( bool&nbsp;wakeUpCore = true )
</h3>
-<p> Unlock the TQt Library Mutex. If <em>wakeUpCore</em> is TRUE (the default),
+<p> Unlock the TQt Library Mutex. If <em>wakeUpCore</em> is true (the default),
then the core application thread will be woken with <a href="#wakeUpCoreThread">TQApplication::wakeUpCoreThread</a>().
<p> <p>See also <a href="#lock">lock</a>(), <a href="#locked">locked</a>(), and <a href="threads.html">Thread Support in TQt</a>.
@@ -1673,21 +1673,21 @@ Returns the number of lines to scroll when the mouse wheel is
rotated.
<p> <p>See also <a href="#setWheelScrollLines">setWheelScrollLines</a>().
-<h3 class=fn><a href="tqwidget.html">TQWidget</a>&nbsp;* <a name="widgetAt"></a>TQApplication::widgetAt ( int&nbsp;x, int&nbsp;y, bool&nbsp;child = FALSE )<tt> [static]</tt>
+<h3 class=fn><a href="tqwidget.html">TQWidget</a>&nbsp;* <a name="widgetAt"></a>TQApplication::widgetAt ( int&nbsp;x, int&nbsp;y, bool&nbsp;child = false )<tt> [static]</tt>
</h3>
Returns a pointer to the widget at global screen position <em>(x, y)</em>, or 0 if there is no TQt widget there.
-<p> If <em>child</em> is FALSE and there is a child widget at position <em>(x, y)</em>, the top-level widget containing it is returned. If <em>child</em>
-is TRUE the child widget at position <em>(x, y)</em> is returned.
+<p> If <em>child</em> is false and there is a child widget at position <em>(x, y)</em>, the top-level widget containing it is returned. If <em>child</em>
+is true the child widget at position <em>(x, y)</em> is returned.
<p> This function is normally rather slow.
<p> <p>See also <a href="tqcursor.html#pos">TQCursor::pos</a>(), <a href="tqwidget.html#grabMouse">TQWidget::grabMouse</a>(), and <a href="tqwidget.html#grabKeyboard">TQWidget::grabKeyboard</a>().
-<h3 class=fn><a href="tqwidget.html">TQWidget</a>&nbsp;* <a name="widgetAt-2"></a>TQApplication::widgetAt ( const&nbsp;<a href="tqpoint.html">TQPoint</a>&nbsp;&amp;&nbsp;pos, bool&nbsp;child = FALSE )<tt> [static]</tt>
+<h3 class=fn><a href="tqwidget.html">TQWidget</a>&nbsp;* <a name="widgetAt-2"></a>TQApplication::widgetAt ( const&nbsp;<a href="tqpoint.html">TQPoint</a>&nbsp;&amp;&nbsp;pos, bool&nbsp;child = false )<tt> [static]</tt>
</h3>
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
<p> Returns a pointer to the widget at global screen position <em>pos</em>,
or 0 if there is no TQt widget there.
-<p> If <em>child</em> is FALSE and there is a child widget at position <em>pos</em>, the top-level widget containing it is returned. If <em>child</em>
-is TRUE the child widget at position <em>pos</em> is returned.
+<p> If <em>child</em> is false and there is a child widget at position <em>pos</em>, the top-level widget containing it is returned. If <em>child</em>
+is true the child widget at position <em>pos</em> is returned.
<h3 class=fn>bool <a name="winEventFilter"></a>TQApplication::winEventFilter ( MSG * )<tt> [virtual]</tt>
</h3>
@@ -1695,13 +1695,13 @@ This virtual function is only implemented under Windows.
<p> The message procedure calls this function for every message
received. Reimplement this function if you want to process window
messages that are not processed by TQt. If you don't want
-the event to be processed by TQt, then return TRUE; otherwise
-return FALSE.
+the event to be processed by TQt, then return true; otherwise
+return false.
<h3 class=fn>void <a name="winFocus"></a>TQApplication::winFocus ( <a href="tqwidget.html">TQWidget</a>&nbsp;*&nbsp;widget, bool&nbsp;gotFocus )
</h3>
This function is available only on Windows.
-<p> If <em>gotFocus</em> is TRUE, <em>widget</em> will become the active window.
+<p> If <em>gotFocus</em> is true, <em>widget</em> will become the active window.
Otherwise the active window is reset to NULL.
<h3 class=fn>const&nbsp;<a href="tqcolor.html">TQColor</a>&nbsp;&amp; <a name="winStyleHighlightColor"></a>TQApplication::winStyleHighlightColor ()<tt> [static]</tt>
@@ -1717,8 +1717,8 @@ This virtual function is only implemented under X11.
<p> If you create an application that inherits TQApplication and
reimplement this function, you get direct access to all X events
that the are received from the X server.
-<p> Return TRUE if you want to stop the event from being processed.
-Return FALSE for normal event dispatching.
+<p> Return true if you want to stop the event from being processed.
+Return false for normal event dispatching.
<p> <p>See also <a href="#x11ProcessEvent">x11ProcessEvent</a>().
<h3 class=fn>int <a name="x11ProcessEvent"></a>TQApplication::x11ProcessEvent ( XEvent&nbsp;*&nbsp;event )
@@ -1736,7 +1736,7 @@ the <em>event</em> was consumed by normal handling, and -1 if the <em>event</em>
<p>
<p> Prints a warning message containing the source code file name and
-line number if <em>test</em> is FALSE.
+line number if <em>test</em> is false.
<p> This is really a macro defined in <a href="tqglobal-h.html">tqglobal.h</a>.
<p> Q_ASSERT is useful for testing pre- and post-conditions.
<p> Example:
@@ -1937,11 +1937,11 @@ done on an application-wide basis to control debug output.
</h3>
<p> Obtains information about the system.
-<p> The system's word size in bits (typically 32) is returned in <em>*wordSize</em>. The <em>*bigEndian</em> is set to TRUE if this is a big-endian
-machine, or to FALSE if this is a little-endian machine.
+<p> The system's word size in bits (typically 32) is returned in <em>*wordSize</em>. The <em>*bigEndian</em> is set to true if this is a big-endian
+machine, or to false if this is a little-endian machine.
<p> In debug mode, this function calls <a href="#qFatal">tqFatal</a>() with a message if the
computer is truly weird (i.e. different endianness for 16 bit and
-32 bit integers); in release mode it returns FALSE.
+32 bit integers); in release mode it returns false.
<h3 class=fn>void <a name="qSystemWarning"></a>tqSystemWarning ( const&nbsp;char&nbsp;*&nbsp;msg, int&nbsp;code )
</h3>