summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqlibrary.3qt
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-07-31 13:38:31 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-07-31 13:43:03 +0900
commit6e4a70d41a2636ce99a1da7b6827ac5685ed3186 (patch)
treeb029ebf1d5be6d1ac0ee361e7bfb68a7dbed0eec /doc/man/man3/tqlibrary.3qt
parent81ade129093a279e6537db25710583fd2bba9427 (diff)
downloadtqt-6e4a70d41a2636ce99a1da7b6827ac5685ed3186.tar.gz
tqt-6e4a70d41a2636ce99a1da7b6827ac5685ed3186.zip
Replace TRUE/FALSE with boolean values true/false - part 3
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked and manually edited from commit 6dd781c483eea56f51ae0eff47d857976b5d0f0d)
Diffstat (limited to 'doc/man/man3/tqlibrary.3qt')
-rw-r--r--doc/man/man3/tqlibrary.3qt12
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/man/man3/tqlibrary.3qt b/doc/man/man3/tqlibrary.3qt
index c48d13ee8..dd7a05fa5 100644
--- a/doc/man/man3/tqlibrary.3qt
+++ b/doc/man/man3/tqlibrary.3qt
@@ -113,15 +113,15 @@ See also load(), unload(), and setAutoUnload().
.SH "QLibrary::~QLibrary ()\fC [virtual]\fR"
Deletes the QLibrary object.
.PP
-The library will be unloaded if autoUnload() is TRUE (the default), otherwise it stays in memory until the application exits.
+The library will be unloaded if autoUnload() is true (the default), otherwise it stays in memory until the application exits.
.PP
See also unload() and setAutoUnload().
.SH "bool QLibrary::autoUnload () const"
-Returns TRUE if the library will be automatically unloaded when this wrapper object is destructed; otherwise returns FALSE. The default is TRUE.
+Returns true if the library will be automatically unloaded when this wrapper object is destructed; otherwise returns false. The default is true.
.PP
See also setAutoUnload().
.SH "bool QLibrary::isLoaded () const"
-Returns TRUE if the library is loaded; otherwise returns FALSE.
+Returns true if the library is loaded; otherwise returns false.
.PP
See also unload().
.SH "TQString QLibrary::library () const"
@@ -223,7 +223,7 @@ This function is useful only if you want to resolve a single symbol, e.g. a func
.br
static FunctionType *ptrFunction = 0;
.br
- static bool triedResolve = FALSE;
+ static bool triedResolve = false;
.br
if ( !ptrFunction && !triedResolve )
.br
@@ -244,11 +244,11 @@ If you want to resolve multiple symbols, use a QLibrary object and call the non-
.PP
See also
.SH "void QLibrary::setAutoUnload ( bool enabled )"
-If \fIenabled\fR is TRUE (the default), the wrapper object is set to automatically unload the library upon destruction. If \fIenabled\fR is FALSE, the wrapper object is not unloaded unless you explicitly call unload().
+If \fIenabled\fR is true (the default), the wrapper object is set to automatically unload the library upon destruction. If \fIenabled\fR is false, the wrapper object is not unloaded unless you explicitly call unload().
.PP
See also autoUnload().
.SH "bool QLibrary::unload ()\fC [virtual]\fR"
-Unloads the library and returns TRUE if the library could be unloaded; otherwise returns FALSE.
+Unloads the library and returns true if the library could be unloaded; otherwise returns false.
.PP
This function is called by the destructor if autoUnload() is enabled.
.PP