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/tqtranslator.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/tqtranslator.html')
-rw-r--r-- | doc/html/tqtranslator.html | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/html/tqtranslator.html b/doc/html/tqtranslator.html index 1a3f06ce7..44076ed0b 100644 --- a/doc/html/tqtranslator.html +++ b/doc/html/tqtranslator.html @@ -179,8 +179,8 @@ Empties this translator of all contents. <h3 class=fn>bool <a name="contains"></a>TQTranslator::contains ( const char * context, const char * sourceText, const char * comment = 0 ) const </h3> -Returns TRUE if this message file contains a message with the key -(<em>context</em>, <em>sourceText</em>, <em>comment</em>); otherwise returns FALSE. +Returns true if this message file contains a message with the key +(<em>context</em>, <em>sourceText</em>, <em>comment</em>); otherwise returns false. <p> This function works with stripped translator files. <p> (This is is a one-liner that calls <a href="#findMessage">findMessage</a>().) @@ -212,15 +212,15 @@ This is an overloaded member function, provided for convenience. It behaves esse <p> <h3 class=fn>bool <a name="isEmpty"></a>TQTranslator::isEmpty () const </h3> -Returns TRUE if this translator is empty, otherwise returns FALSE. +Returns true if this translator is empty, otherwise returns false. This function works with stripped and unstripped translation files. <h3 class=fn>bool <a name="load"></a>TQTranslator::load ( const <a href="tqstring.html">TQString</a> & filename, const <a href="tqstring.html">TQString</a> & directory = TQString::null, const <a href="tqstring.html">TQString</a> & search_delimiters = TQString::null, const <a href="tqstring.html">TQString</a> & suffix = TQString::null ) </h3> Loads <em>filename</em>, which may be an absolute file name or relative to <em>directory</em>. The previous contents of this translator object -is discarded. Returns TRUE if the file is loaded successfully; -otherwise returns FALSE. +is discarded. Returns true if the file is loaded successfully; +otherwise returns false. <p> If the full file name does not exist, other file names are tried in the following order: <p> <ol type=1> @@ -252,8 +252,8 @@ readable file from this list: This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> <p> Loads the .qm file data <em>data</em> of length <em>len</em> into the -translator. Returns TRUE if the data is loaded successfully; -otherwise returns FALSE. +translator. Returns true if the data is loaded successfully; +otherwise returns false. <p> The data is not copied. The caller must be able to guarantee that <em>data</em> will not be deleted or modified. |