diff options
Diffstat (limited to 'doc/man/man3/tqapplication.3qt')
-rw-r--r-- | doc/man/man3/tqapplication.3qt | 110 |
1 files changed, 55 insertions, 55 deletions
diff --git a/doc/man/man3/tqapplication.3qt b/doc/man/man3/tqapplication.3qt index 1355111ac..1e452f941 100644 --- a/doc/man/man3/tqapplication.3qt +++ b/doc/man/man3/tqapplication.3qt @@ -151,7 +151,7 @@ Inherits TQObject. .BI "void \fBlock\fR ()" .br .ti -1c -.BI "void \fBunlock\fR ( bool wakeUpCore = TRUE )" +.BI "void \fBunlock\fR ( bool wakeUpCore = true )" .br .ti -1c .BI "bool \fBlocked\fR ()" @@ -205,7 +205,7 @@ Inherits TQObject. .BI "TQCursor * \fBoverrideCursor\fR ()" .br .ti -1c -.BI "void \fBsetOverrideCursor\fR ( const TQCursor & cursor, bool replace = FALSE )" +.BI "void \fBsetOverrideCursor\fR ( const TQCursor & cursor, bool replace = false )" .br .ti -1c .BI "void \fBrestoreOverrideCursor\fR ()" @@ -220,13 +220,13 @@ Inherits TQObject. .BI "TQPalette \fBpalette\fR ( const TQWidget * w = 0 )" .br .ti -1c -.BI "void \fBsetPalette\fR ( const TQPalette & palette, bool informWidgets = FALSE, const char * className = 0 )" +.BI "void \fBsetPalette\fR ( const TQPalette & palette, bool informWidgets = false, const char * className = 0 )" .br .ti -1c .BI "TQFont \fBfont\fR ( const TQWidget * w = 0 )" .br .ti -1c -.BI "void \fBsetFont\fR ( const TQFont & font, bool informWidgets = FALSE, const char * className = 0 )" +.BI "void \fBsetFont\fR ( const TQFont & font, bool informWidgets = false, const char * className = 0 )" .br .ti -1c .BI "TQFontMetrics \fBfontMetrics\fR ()" @@ -250,10 +250,10 @@ Inherits TQObject. .BI "TQClipboard * \fBclipboard\fR ()" .br .ti -1c -.BI "TQWidget * \fBwidgetAt\fR ( int x, int y, bool child = FALSE )" +.BI "TQWidget * \fBwidgetAt\fR ( int x, int y, bool child = false )" .br .ti -1c -.BI "TQWidget * \fBwidgetAt\fR ( const TQPoint & pos, bool child = FALSE )" +.BI "TQWidget * \fBwidgetAt\fR ( const TQPoint & pos, bool child = false )" .br .ti -1c .BI "TQEventLoop * \fBeventLoop\fR ()" @@ -367,7 +367,7 @@ Inherits TQObject. .BI "bool \fBisEffectEnabled\fR ( TQt::UIEffect effect )" .br .ti -1c -.BI "void \fBsetEffectEnabled\fR ( TQt::UIEffect effect, bool enable = TRUE )" +.BI "void \fBsetEffectEnabled\fR ( TQt::UIEffect effect, bool enable = true )" .br .in -1c .SH RELATED FUNCTION DOCUMENTATION @@ -547,11 +547,11 @@ The X11 version of TQt also supports some traditional X11 command line options: .PP See also argc() and argv(). .SH "TQApplication::TQApplication ( int & argc, char ** argv, bool GUIenabled )" -Constructs an application object with \fIargc\fR command line arguments in \fIargv\fR. If \fIGUIenabled\fR is TRUE, a GUI application is constructed, otherwise a non-GUI (console) application is created. +Constructs an application object with \fIargc\fR command line arguments in \fIargv\fR. If \fIGUIenabled\fR is true, a GUI application is constructed, otherwise a non-GUI (console) application is created. .PP -Set \fIGUIenabled\fR to FALSE for programs without a graphical user interface that should be able to run without a window system. +Set \fIGUIenabled\fR to false for programs without a graphical user interface that should be able to run without a window system. .PP -On X11, the window system is initialized if \fIGUIenabled\fR is TRUE. If \fIGUIenabled\fR 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 future versions of Qt. +On X11, the window system is initialized if \fIGUIenabled\fR is true. If \fIGUIenabled\fR 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 future versions of Qt. .PP The following example shows how to create an application that uses a graphical interface when available. .PP @@ -567,7 +567,7 @@ The following example shows how to create an application that uses a graphical i .br #else .br - bool useGUI = TRUE; + bool useGUI = true; .br #endif .br @@ -623,7 +623,7 @@ See also quit(). .SH "TQWidget * TQApplication::activeModalWidget ()\fC [static]\fR" Returns the active modal widget. .PP -A modal widget is a special top level widget which is a subclass of TQDialog that specifies the modal parameter of the constructor as TRUE. A modal widget must be closed before the user can continue with other parts of the program. +A modal widget is a special top level widget which is a subclass of TQDialog that specifies the modal parameter of the constructor as true. A modal widget must be closed before the user can continue with other parts of the program. .PP Modal widgets are organized in a stack. This function returns the active modal widget at the top of the stack. .PP @@ -794,7 +794,7 @@ See also TQWidget::close(), TQWidget::closeEvent(), lastWindowClosed(), quit(), Examples: .)l action/application.cpp, application/application.cpp, helpviewer/helpwindow.cpp, mdi/application.cpp, and qwerty/qwerty.cpp. .SH "bool TQApplication::closingDown ()\fC [static]\fR" -Returns TRUE if the application objects are being destroyed; otherwise returns FALSE. +Returns true if the application objects are being destroyed; otherwise returns false. .PP See also startingUp(). .SH "int TQApplication::colorSpec ()\fC [static]\fR" @@ -845,7 +845,7 @@ The desktop widget is useful for obtaining the size of the screen. It may also b Examples: .)l canvas/main.cpp, desktop/desktop.cpp, helpviewer/main.cpp, i18n/main.cpp, qmag/qmag.cpp, qwerty/main.cpp, and scribble/main.cpp. .SH "bool TQApplication::desktopSettingsAware ()\fC [static]\fR" -Returns the value set by setDesktopSettingsAware(); by default TRUE. +Returns the value set by setDesktopSettingsAware(); by default true. .PP See also setDesktopSettingsAware(). .SH "int TQApplication::doubleClickInterval ()\fC [static]\fR" @@ -938,11 +938,11 @@ This signal is emitted after the event loop returns from a function that could b .PP See also wakeUpCoreThread(). .SH "bool TQApplication::hasGlobalMouseTracking ()\fC [static]\fR" -Returns TRUE if global mouse tracking is enabled; otherwise returns FALSE. +Returns true if global mouse tracking is enabled; otherwise returns false. .PP See also setGlobalMouseTracking(). .SH "bool TQApplication::hasPendingEvents ()" -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 TQApplication::postEvent(). +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 TQApplication::postEvent(). .SH "int TQApplication::horizontalAlignment ( int align )\fC [static]\fR" Strips out vertical alignment flags and transforms an alignment \fIalign\fR of AlignAuto into AlignLeft or AlignRight according to the language used. The other horizontal alignment flags are left untouched. .SH "void TQApplication::installTranslator ( TQTranslator * mf )" @@ -954,15 +954,15 @@ See also removeTranslator(), translate(), and TQTranslator::load(). .PP Example: i18n/main.cpp. .SH "bool TQApplication::isEffectEnabled ( TQt::UIEffect effect )\fC [static]\fR" -Returns TRUE if \fIeffect\fR is enabled; otherwise returns FALSE. +Returns true if \fIeffect\fR is enabled; otherwise returns false. .PP -By default, TQt will try to use the desktop settings. Call setDesktopSettingsAware(FALSE) to prevent this. +By default, TQt will try to use the desktop settings. Call setDesktopSettingsAware(false) to prevent this. .PP Note: All effects are disabled on screens running at less than 16-bit color depth. .PP See also setEffectEnabled() and TQt::UIEffect. .SH "bool TQApplication::isSessionRestored () const" -Returns TRUE if the application has been restored from an earlier session; otherwise returns FALSE. +Returns true if the application has been restored from an earlier session; otherwise returns false. .PP See also sessionId(), commitData(), and saveState(). .SH "void TQApplication::lastWindowClosed ()\fC [signal]\fR" @@ -1005,7 +1005,7 @@ Lock the TQt Library Mutex. If another thread has already locked the mutex, the .PP See also unlock(), locked(), and Thread Support in Qt. .SH "bool TQApplication::locked ()" -Returns TRUE if the TQt Library Mutex is locked by a different thread; otherwise returns FALSE. +Returns true if the TQt Library Mutex is locked by a different thread; otherwise returns false. .PP \fBWarning:\fR 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. .PP @@ -1021,7 +1021,7 @@ This virtual function is only implemented under Macintosh. .PP 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. .PP -Return TRUE if you want to stop the event from being processed. Return FALSE for normal event dispatching. +Return true if you want to stop the event from being processed. Return false for normal event dispatching. .SH "TQWidget * TQApplication::mainWidget () const" Returns the main application widget, or 0 if there is no main widget. .PP @@ -1029,7 +1029,7 @@ See also setMainWidget(). .SH "bool TQApplication::notify ( TQObject * receiver, TQEvent * e )\fC [virtual]\fR" Sends event \fIe\fR to \fIreceiver\fR: \fIreceiver\fR->event(\fIe\fR). Returns the value that is returned from the receiver's event handler. .PP -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). +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). .PP 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: <ol type=1> .TP @@ -1149,7 +1149,7 @@ See also setOverrideCursor() and overrideCursor(). Examples: .)l distributor/distributor.ui.h, network/archivesearch/archivedialog.ui.h, network/ftpclient/ftpmainwindow.ui.h, and showimg/showimg.cpp. .SH "bool TQApplication::reverseLayout ()\fC [static]\fR" -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. +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. .PP See also setReverseLayout(). .SH "void TQApplication::saveState ( TQSessionManager & sm )\fC [virtual]\fR" @@ -1265,7 +1265,7 @@ See also cursorFlashTime(). .PP This is the same as TQTextCodec::setCodecForTr(). .SH "void TQApplication::setDesktopSettingsAware ( bool on )\fC [static]\fR" -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 \fIon\fR set to FALSE. +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 \fIon\fR set to false. .PP This static function must be called before creating the TQApplication object, like this: .PP @@ -1273,7 +1273,7 @@ This static function must be called before creating the TQApplication object, li .br int main( int argc, char** argv ) { .br - TQApplication::setDesktopSettingsAware( FALSE ); // I know better than the user + TQApplication::setDesktopSettingsAware( false ); // I know better than the user .br TQApplication myApp( argc, argv ); // Use default fonts & colors .br @@ -1290,14 +1290,14 @@ Sets the time limit that distinguishes a double click from two consecutive mouse Note that on Microsoft Windows, calling this function sets the double click interval for all windows. .PP See also doubleClickInterval(). -.SH "void TQApplication::setEffectEnabled ( TQt::UIEffect effect, bool enable = TRUE )\fC [static]\fR" -Enables the UI effect \fIeffect\fR if \fIenable\fR is TRUE, otherwise the effect will not be used. +.SH "void TQApplication::setEffectEnabled ( TQt::UIEffect effect, bool enable = true )\fC [static]\fR" +Enables the UI effect \fIeffect\fR if \fIenable\fR is true, otherwise the effect will not be used. .PP Note: All effects are disabled on screens running at less than 16-bit color depth. .PP See also isEffectEnabled(), TQt::UIEffect, and setDesktopSettingsAware(). -.SH "void TQApplication::setFont ( const TQFont & font, bool informWidgets = FALSE, const char * className = 0 )\fC [static]\fR" -Changes the default application font to \fIfont\fR. If \fIinformWidgets\fR is TRUE, then existing widgets are informed about the change and may adjust themselves to the new application setting. If \fIinformWidgets\fR is FALSE, the change only affects newly created widgets. If \fIclassName\fR is passed, the change applies only to classes that inherit \fIclassName\fR (as reported by TQObject::inherits()). +.SH "void TQApplication::setFont ( const TQFont & font, bool informWidgets = false, const char * className = 0 )\fC [static]\fR" +Changes the default application font to \fIfont\fR. If \fIinformWidgets\fR is true, then existing widgets are informed about the change and may adjust themselves to the new application setting. If \fIinformWidgets\fR is false, the change only affects newly created widgets. If \fIclassName\fR is passed, the change applies only to classes that inherit \fIclassName\fR (as reported by TQObject::inherits()). .PP On application start-up, the default font depends on the window system. It can vary depending on both the window system version and the locale. This function lets you override the default font; but overriding may be a bad idea because, for example, some locales need extra-large fonts to support their special characters. .PP @@ -1306,27 +1306,27 @@ See also font(), fontMetrics(), and TQWidget::font. Examples: .)l desktop/desktop.cpp, themes/metal.cpp, and themes/themes.cpp. .SH "void TQApplication::setGlobalMouseTracking ( bool enable )\fC [static]\fR" -Enables global mouse tracking if \fIenable\fR is TRUE, or disables it if \fIenable\fR is FALSE. +Enables global mouse tracking if \fIenable\fR is true, or disables it if \fIenable\fR is false. .PP 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. .PP -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 TQWidget::setMouseTracking(TRUE). +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 TQWidget::setMouseTracking(true). .PP -This function uses an internal counter. Each setGlobalMouseTracking(TRUE) must have a corresponding setGlobalMouseTracking(FALSE): +This function uses an internal counter. Each setGlobalMouseTracking(true) must have a corresponding setGlobalMouseTracking(false): .PP .nf .br // at this point global mouse tracking is off .br - TQApplication::setGlobalMouseTracking( TRUE ); + TQApplication::setGlobalMouseTracking( true ); .br - TQApplication::setGlobalMouseTracking( TRUE ); + TQApplication::setGlobalMouseTracking( true ); .br - TQApplication::setGlobalMouseTracking( FALSE ); + TQApplication::setGlobalMouseTracking( false ); .br // at this point it's still on .br - TQApplication::setGlobalMouseTracking( FALSE ); + TQApplication::setGlobalMouseTracking( false ); .br // but now it's off .br @@ -1372,7 +1372,7 @@ See also mainWidget(), exec(), and quit(). .PP Examples: .)l chart/main.cpp, helpsystem/main.cpp, life/main.cpp, network/ftpclient/main.cpp, opengl/main.cpp, t1/main.cpp, and t4/main.cpp. -.SH "void TQApplication::setOverrideCursor ( const TQCursor & cursor, bool replace = FALSE )\fC [static]\fR" +.SH "void TQApplication::setOverrideCursor ( const TQCursor & cursor, bool replace = false )\fC [static]\fR" Sets the application override cursor to \fIcursor\fR. .PP Application override cursors are intended for showing the user that the application is in a special state, for example during an operation that might take some time. @@ -1381,7 +1381,7 @@ This cursor will be displayed in all the application's widgets until restoreOver .PP Application cursors are stored on an internal stack. setOverrideCursor() pushes the cursor onto the stack, and 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. .PP -If \fIreplace\fR is TRUE, the new cursor will replace the last override cursor (the stack keeps its depth). If \fIreplace\fR is FALSE, the new stack is pushed onto the top of the stack. +If \fIreplace\fR is true, the new cursor will replace the last override cursor (the stack keeps its depth). If \fIreplace\fR is false, the new stack is pushed onto the top of the stack. .PP Example: .PP @@ -1399,8 +1399,8 @@ See also overrideCursor(), restoreOverrideCursor(), and TQWidget::cursor. .PP Examples: .)l distributor/distributor.ui.h, network/archivesearch/archivedialog.ui.h, network/ftpclient/ftpmainwindow.ui.h, and showimg/showimg.cpp. -.SH "void TQApplication::setPalette ( const TQPalette & palette, bool informWidgets = FALSE, const char * className = 0 )\fC [static]\fR" -Changes the default application palette to \fIpalette\fR. If \fIinformWidgets\fR is TRUE, then existing widgets are informed about the change and may adjust themselves to the new application setting. If \fIinformWidgets\fR is FALSE, the change only affects newly created widgets. +.SH "void TQApplication::setPalette ( const TQPalette & palette, bool informWidgets = false, const char * className = 0 )\fC [static]\fR" +Changes the default application palette to \fIpalette\fR. If \fIinformWidgets\fR is true, then existing widgets are informed about the change and may adjust themselves to the new application setting. If \fIinformWidgets\fR is false, the change only affects newly created widgets. .PP If \fIclassName\fR is passed, the change applies only to widgets that inherit \fIclassName\fR (as reported by TQObject::inherits()). If \fIclassName\fR is left 0, the change affects all widgets, thus overriding any previously set class specific palettes. .PP @@ -1411,7 +1411,7 @@ See also TQWidget::palette, palette(), and TQStyle::polish(). Examples: .)l i18n/main.cpp, themes/metal.cpp, themes/themes.cpp, and themes/wood.cpp. .SH "void TQApplication::setReverseLayout ( bool b )\fC [static]\fR" -If \fIb\fR 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 \fIb\fR is FALSE, dialogs and widgets are laid out left to right. +If \fIb\fR 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 \fIb\fR is false, dialogs and widgets are laid out left to right. .PP Changing this flag in runtime does not cause a relayout of already instantiated widgets. .PP @@ -1493,7 +1493,7 @@ The default value is 500 ms. .PP See also setStartDragTime() and startDragDistance(). .SH "bool TQApplication::startingUp ()\fC [static]\fR" -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. .PP See also closingDown(). .SH "TQStyle & TQApplication::style ()\fC [static]\fR" @@ -1561,15 +1561,15 @@ This function is not virtual. You can use alternative translation techniques by .PP See also TQObject::tr(), installTranslator(), and defaultCodec(). .SH "bool TQApplication::tryLock ()" -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 waiting for the lock to become available. +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 waiting for the lock to become available. .PP The mutex must be unlocked with unlock() before another thread can successfully lock it. .PP See also lock(), unlock(), and Thread Support in Qt. .SH "Type TQApplication::type () const" Returns the type of application, Tty, GuiClient or GuiServer. -.SH "void TQApplication::unlock ( bool wakeUpCore = TRUE )" -Unlock the TQt Library Mutex. If \fIwakeUpCore\fR is TRUE (the default), then the core application thread will be woken with TQApplication::wakeUpCoreThread(). +.SH "void TQApplication::unlock ( bool wakeUpCore = true )" +Unlock the TQt Library Mutex. If \fIwakeUpCore\fR is true (the default), then the core application thread will be woken with TQApplication::wakeUpCoreThread(). .PP See also lock(), locked(), and Thread Support in Qt. .SH "void TQApplication::wakeUpCoreThread ()" @@ -1580,28 +1580,28 @@ See also coreThreadAwake() and Thread Support in Qt. Returns the number of lines to scroll when the mouse wheel is rotated. .PP See also setWheelScrollLines(). -.SH "TQWidget * TQApplication::widgetAt ( int x, int y, bool child = FALSE )\fC [static]\fR" +.SH "TQWidget * TQApplication::widgetAt ( int x, int y, bool child = false )\fC [static]\fR" Returns a pointer to the widget at global screen position \fI(x, y)\fR, or 0 if there is no TQt widget there. .PP -If \fIchild\fR is FALSE and there is a child widget at position \fI(x, y)\fR, the top-level widget containing it is returned. If \fIchild\fR is TRUE the child widget at position \fI(x, y)\fR is returned. +If \fIchild\fR is false and there is a child widget at position \fI(x, y)\fR, the top-level widget containing it is returned. If \fIchild\fR is true the child widget at position \fI(x, y)\fR is returned. .PP This function is normally rather slow. .PP See also TQCursor::pos(), TQWidget::grabMouse(), and TQWidget::grabKeyboard(). -.SH "TQWidget * TQApplication::widgetAt ( const TQPoint & pos, bool child = FALSE )\fC [static]\fR" +.SH "TQWidget * TQApplication::widgetAt ( const TQPoint & pos, bool child = false )\fC [static]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Returns a pointer to the widget at global screen position \fIpos\fR, or 0 if there is no TQt widget there. .PP -If \fIchild\fR is FALSE and there is a child widget at position \fIpos\fR, the top-level widget containing it is returned. If \fIchild\fR is TRUE the child widget at position \fIpos\fR is returned. +If \fIchild\fR is false and there is a child widget at position \fIpos\fR, the top-level widget containing it is returned. If \fIchild\fR is true the child widget at position \fIpos\fR is returned. .SH "bool TQApplication::winEventFilter ( MSG * )\fC [virtual]\fR" This virtual function is only implemented under Windows. .PP -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 Qt. If you don't want the event to be processed by Qt, then return TRUE; otherwise return FALSE. +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 Qt. If you don't want the event to be processed by Qt, then return true; otherwise return false. .SH "void TQApplication::winFocus ( TQWidget * widget, bool gotFocus )" This function is available only on Windows. .PP -If \fIgotFocus\fR is TRUE, \fIwidget\fR will become the active window. Otherwise the active window is reset to NULL. +If \fIgotFocus\fR is true, \fIwidget\fR will become the active window. Otherwise the active window is reset to NULL. .SH "const TQColor & TQApplication::winStyleHighlightColor ()\fC [static]\fR" \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. .PP @@ -1613,7 +1613,7 @@ This virtual function is only implemented under X11. .PP 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. .PP -Return TRUE if you want to stop the event from being processed. Return FALSE for normal event dispatching. +Return true if you want to stop the event from being processed. Return false for normal event dispatching. .PP See also x11ProcessEvent(). .SH "int TQApplication::x11ProcessEvent ( XEvent * event )" @@ -1624,7 +1624,7 @@ It returns 1 if the event was consumed by special handling, 0 if the \fIevent\fR See also x11EventFilter(). .SH RELATED FUNCTION DOCUMENTATION .SH "void Q_ASSERT ( bool test )" -Prints a warning message containing the source code file name and line number if \fItest\fR is FALSE. +Prints a warning message containing the source code file name and line number if \fItest\fR is false. .PP This is really a macro defined in tqglobal.h. .PP @@ -1884,9 +1884,9 @@ See also tqDebug(), tqWarning(), tqFatal(), and Debugging. .SH "bool tqSysInfo ( int * wordSize, bool * bigEndian )" Obtains information about the system. .PP -The system's word size in bits (typically 32) is returned in \fI*wordSize\fR. The \fI*bigEndian\fR is set to TRUE if this is a big-endian machine, or to FALSE if this is a little-endian machine. +The system's word size in bits (typically 32) is returned in \fI*wordSize\fR. The \fI*bigEndian\fR is set to true if this is a big-endian machine, or to false if this is a little-endian machine. .PP -In debug mode, this function calls tqFatal() 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. +In debug mode, this function calls tqFatal() 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. .SH "void tqSystemWarning ( const char * msg, int code )" Prints the message \fImsg\fR and uses \fIcode\fR to get a system specific error message. When \fIcode\fR is -1 (the default), the system's last error code will be used if possible. Use this method to handle failures in platform specific API calls. .PP |