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/tqurlinfo.html | 46 +++++++++++++++++++++++----------------------- 1 file changed, 23 insertions(+), 23 deletions(-) (limited to 'doc/html/tqurlinfo.html') diff --git a/doc/html/tqurlinfo.html b/doc/html/tqurlinfo.html index d171d05fd..3f6155b55 100644 --- a/doc/html/tqurlinfo.html +++ b/doc/html/tqurlinfo.html @@ -120,7 +120,7 @@ Constructs an invalid TQUrlInfo object with default values. Constructs a TQUrlInfo object with information about the file file in the path. It tries to find the information about the file in the TQUrlOperator path.

If the information is not found, this constructor creates an -invalid TQUrlInfo, i.e. isValid() returns FALSE. You should always +invalid TQUrlInfo, i.e. isValid() returns false. You should always check if the URL info is valid before relying on the return values of any getter functions.

If file is empty, it defaults to the TQUrlOperator path, i.e. @@ -155,13 +155,13 @@ affected.

bool TQUrlInfo::equal ( const TQUrlInfo & i1, const TQUrlInfo & i2, int sortBy ) [static]

-Returns TRUE if i1 equals to i2; otherwise returns FALSE. +Returns true if i1 equals to i2; otherwise returns false. The objects are compared by the value, which is specified by sortBy. This must be one of TQDir::Name, TQDir::Time or TQDir::Size.

bool TQUrlInfo::greaterThan ( const TQUrlInfo & i1, const TQUrlInfo & i2, int sortBy ) [static]

-Returns TRUE if i1 is greater than i2; otherwise returns -FALSE. The objects are compared by the value, which is specified +Returns true if i1 is greater than i2; otherwise returns +false. The objects are compared by the value, which is specified by sortBy. This must be one of TQDir::Name, TQDir::Time or TQDir::Size. @@ -172,33 +172,33 @@ Returns the group of the URL.

bool TQUrlInfo::isDir () const

-Returns TRUE if the URL is a directory; otherwise returns FALSE. +Returns true if the URL is a directory; otherwise returns false.

See also isValid().

Examples: network/ftpclient/ftpmainwindow.ui.h and network/networkprotocol/nntp.cpp.

bool TQUrlInfo::isExecutable () const

-Returns TRUE if the URL is executable; otherwise returns FALSE. +Returns true if the URL is executable; otherwise returns false.

See also isValid().

bool TQUrlInfo::isFile () const

-Returns TRUE if the URL is a file; otherwise returns FALSE. +Returns true if the URL is a file; otherwise returns false.

See also isValid().

bool TQUrlInfo::isReadable () const

-Returns TRUE if the URL is readable; otherwise returns FALSE. +Returns true if the URL is readable; otherwise returns false.

See also isValid().

bool TQUrlInfo::isSymLink () const

-Returns TRUE if the URL is a symbolic link; otherwise returns FALSE. +Returns true if the URL is a symbolic link; otherwise returns false.

See also isValid().

bool TQUrlInfo::isValid () const

-Returns TRUE if the URL info is valid; otherwise returns FALSE. +Returns true if the URL info is valid; otherwise returns false. Valid means that the TQUrlInfo contains real information. For example, a call to TQUrlOperator::info() might return a an invalid TQUrlInfo, if no information about the requested entry is @@ -208,7 +208,7 @@ the values.

bool TQUrlInfo::isWritable () const

-Returns TRUE if the URL is writable; otherwise returns FALSE. +Returns true if the URL is writable; otherwise returns false.

See also isValid().

TQDateTime TQUrlInfo::lastModified () const @@ -224,7 +224,7 @@ Returns the date when the URL was last read.

bool TQUrlInfo::lessThan ( const TQUrlInfo & i1, const TQUrlInfo & i2, int sortBy ) [static]

-Returns TRUE if i1 is less than i2; otherwise returns FALSE. +Returns true if i1 is less than i2; otherwise returns false. The objects are compared by the value, which is specified by sortBy. This must be one of TQDir::Name, TQDir::Time or TQDir::Size.

TQString TQUrlInfo::name () const @@ -239,8 +239,8 @@ Assigns the values of ui to this TQUrlInfo object.

bool TQUrlInfo::operator== ( const TQUrlInfo & i ) const

-Compares this TQUrlInfo with i and returns TRUE if they are -equal; otherwise returns FALSE. +Compares this TQUrlInfo with i and returns true if they are +equal; otherwise returns false.

TQString TQUrlInfo::owner () const

@@ -255,8 +255,8 @@ to test for certain permissions.

void TQUrlInfo::setDir ( bool b ) [virtual]

-If b is TRUE then the URL is set to be a directory; if \b is -FALSE then the URL is set not to be a directory (which normally +If b is true then the URL is set to be a directory; if \b is +false then the URL is set not to be a directory (which normally means it is a file). (Note that a URL can refer to both a file and a directory even though most file systems do not support this.)

If you call this function for an invalid URL info, this function @@ -266,7 +266,7 @@ turns it into a valid one.

Example: network/networkprotocol/nntp.cpp.

void TQUrlInfo::setFile ( bool b ) [virtual]

-If b is TRUE then the URL is set to be a file; if \b is FALSE +If b is true then the URL is set to be a file; if \b is false then the URL is set not to be a file (which normally means it is a directory). (Note that a URL can refer to both a file and a directory even though most file systems do not support this.) @@ -315,8 +315,8 @@ turns it into a valid one.

void TQUrlInfo::setReadable ( bool b ) [virtual]

-Specifies that the URL is readable if b is TRUE and not -readable if b is FALSE. +Specifies that the URL is readable if b is true and not +readable if b is false.

If you call this function for an invalid URL info, this function turns it into a valid one.

See also isValid(). @@ -331,8 +331,8 @@ turns it into a valid one.

void TQUrlInfo::setSymLink ( bool b ) [virtual]

-Specifies that the URL refers to a symbolic link if b is TRUE -and that it does not if b is FALSE. +Specifies that the URL refers to a symbolic link if b is true +and that it does not if b is false.

If you call this function for an invalid URL info, this function turns it into a valid one.

See also isValid(). @@ -340,8 +340,8 @@ turns it into a valid one.

Example: network/networkprotocol/nntp.cpp.

void TQUrlInfo::setWritable ( bool b ) [virtual]

-Specifies that the URL is writable if b is TRUE and not -writable if b is FALSE. +Specifies that the URL is writable if b is true and not +writable if b is false.

If you call this function for an invalid URL info, this function turns it into a valid one.

See also isValid(). -- cgit v1.2.3