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/tqhostaddress.html | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'doc/html/tqhostaddress.html') diff --git a/doc/html/tqhostaddress.html b/doc/html/tqhostaddress.html index 4b5c51d5f..11b5ce69e 100644 --- a/doc/html/tqhostaddress.html +++ b/doc/html/tqhostaddress.html @@ -107,13 +107,13 @@ Destroys the host address object.

bool TQHostAddress::isIPv4Address () const

-Returns TRUE if the host address represents an IPv4 address; -otherwise returns FALSE. +Returns true if the host address represents an IPv4 address; +otherwise returns false.

bool TQHostAddress::isIPv6Address () const

-Returns TRUE if the host address represents an IPv6 address; -otherwise returns FALSE. +Returns true if the host address represents an IPv6 address; +otherwise returns false.

bool TQHostAddress::isIp4Addr () const

@@ -122,7 +122,7 @@ otherwise returns FALSE.

bool TQHostAddress::isNull () const

-Returns TRUE if this host address is null (INADDR_ANY or in6addr_any). The +Returns true if this host address is null (INADDR_ANY or in6addr_any). The default constructor creates a null address, and that address isn't valid for any particular host or interface. @@ -133,8 +133,8 @@ returns a reference to this object.

bool TQHostAddress::operator== ( const TQHostAddress & other ) const

-Returns TRUE if this host address is the same as other; -otherwise returns FALSE. +Returns true if this host address is the same as other; +otherwise returns false.

void TQHostAddress::setAddress ( TQ_UINT32 ip4Addr )

@@ -151,16 +151,16 @@ This is an overloaded member function, provided for convenience. It behaves esse This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

Sets the IPv4 or IPv6 address specified by the string -representation address (e.g. "127.0.0.1"). Returns TRUE and +representation address (e.g. "127.0.0.1"). Returns true and sets the address if the address was successfully parsed; otherwise -returns FALSE and leaves the address unchanged. +returns false and leaves the address unchanged.

TQ_UINT32 TQHostAddress::toIPv4Address () const

Returns the IPv4 address as a number.

For example, if the address is 127.0.0.1, the returned value is 2130706433 (i.e. 0x7f000001). -

This value is only valid when isIp4Addr() returns TRUE. +

This value is only valid when isIp4Addr() returns true.

See also toString().

Q_IPV6ADDR TQHostAddress::toIPv6Address () const @@ -176,7 +176,7 @@ consists of 16 unsigned characters. } -

This value is only valid when isIPv6Address() returns TRUE. +

This value is only valid when isIPv6Address() returns true.

See also toString().

TQString TQHostAddress::toString () const -- cgit v1.2.3