From 4d495175043c399fdca6e1bb4c74ef176fc76fb4 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 6 Aug 2025 11:29:57 +0900 Subject: Replace TRUE/FALSE with boolean values true/false - part 4 Signed-off-by: Michele Calgaro --- doc/html/tqtranslator.html | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'doc/html/tqtranslator.html') 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.

bool TQTranslator::contains ( const char * context, const char * sourceText, const char * comment = 0 ) const

-Returns TRUE if this message file contains a message with the key -(context, sourceText, comment); otherwise returns FALSE. +Returns true if this message file contains a message with the key +(context, sourceText, comment); otherwise returns false.

This function works with stripped translator files.

(This is is a one-liner that calls findMessage().) @@ -212,15 +212,15 @@ This is an overloaded member function, provided for convenience. It behaves esse

bool TQTranslator::isEmpty () const

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

bool TQTranslator::load ( const TQString & filename, const TQString & directory = TQString::null, const TQString & search_delimiters = TQString::null, const TQString & suffix = TQString::null )

Loads filename, which may be an absolute file name or relative to directory. 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.

If the full file name does not exist, other file names are tried in the following order:

    @@ -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.

    Loads the .qm file data data of length len 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.

    The data is not copied. The caller must be able to guarantee that data will not be deleted or modified. -- cgit v1.2.3