diff options
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. |