diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-08-06 11:29:57 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-08-06 11:29:57 +0900 |
commit | dcce5b1f2c449ed9a02b1752e0d74f147a83d07d (patch) | |
tree | d57fe27457a96451f1a67e2a2db268a441d917fc /doc/html/tqlibrary.html | |
parent | 649c4c61a1f1f479f4532b196f68df476cef2680 (diff) | |
download | tqt-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/tqlibrary.html')
-rw-r--r-- | doc/html/tqlibrary.html | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/doc/html/tqlibrary.html b/doc/html/tqlibrary.html index b806b76ae..22ff48695 100644 --- a/doc/html/tqlibrary.html +++ b/doc/html/tqlibrary.html @@ -121,21 +121,21 @@ look for the file in the platform specific search paths. <h3 class=fn><a name="~TQLibrary"></a>TQLibrary::~TQLibrary ()<tt> [virtual]</tt> </h3> Deletes the TQLibrary object. -<p> The library will be unloaded if <a href="#autoUnload">autoUnload</a>() is TRUE (the +<p> The library will be unloaded if <a href="#autoUnload">autoUnload</a>() is true (the default), otherwise it stays in memory until the application exits. <p> <p>See also <a href="#unload">unload</a>() and <a href="#setAutoUnload">setAutoUnload</a>(). <h3 class=fn>bool <a name="autoUnload"></a>TQLibrary::autoUnload () const </h3> -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. <p> <p>See also <a href="#setAutoUnload">setAutoUnload</a>(). <h3 class=fn>bool <a name="isLoaded"></a>TQLibrary::isLoaded () const </h3> -Returns TRUE if the library is loaded; otherwise returns FALSE. +Returns true if the library is loaded; otherwise returns false. <p> <p>See also <a href="#unload">unload</a>(). <h3 class=fn><a href="tqstring.html">TQString</a> <a name="library"></a>TQLibrary::library () const @@ -247,7 +247,7 @@ symbol, e.g. a function pointer from a specific library once: <p> <pre> typedef void (*FunctionType)(); static FunctionType *ptrFunction = 0; - static bool triedResolve = FALSE; + static bool triedResolve = false; if ( !ptrFunction && !triedResolve ) ptrFunction = TQLibrary::<a href="#resolve">resolve</a>( "mylib", "mysymb" ); @@ -262,16 +262,16 @@ call the non-static version of <a href="#resolve">resolve</a>(). <p> <p>See also <h3 class=fn>void <a name="setAutoUnload"></a>TQLibrary::setAutoUnload ( bool enabled ) </h3> -If <em>enabled</em> is TRUE (the default), the wrapper object is set to +If <em>enabled</em> is true (the default), the wrapper object is set to automatically unload the library upon destruction. If <em>enabled</em> -is FALSE, the wrapper object is not unloaded unless you explicitly +is false, the wrapper object is not unloaded unless you explicitly call <a href="#unload">unload</a>(). <p> <p>See also <a href="#autoUnload">autoUnload</a>(). <h3 class=fn>bool <a name="unload"></a>TQLibrary::unload ()<tt> [virtual]</tt> </h3> -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. <p> This function is called by the destructor if <a href="#autoUnload">autoUnload</a>() is enabled. <p> <p>See also <a href="#resolve">resolve</a>(). |