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/tqmemarray.html | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'doc/html/tqmemarray.html') diff --git a/doc/html/tqmemarray.html b/doc/html/tqmemarray.html index 6ee45bdb2..1c597ac5b 100644 --- a/doc/html/tqmemarray.html +++ b/doc/html/tqmemarray.html @@ -361,8 +361,8 @@ of TQValueList and TQMap

Fills the array with the value v. If size is specified as different from -1, then the array will be resized before being filled. -

Returns TRUE if successful, i.e. if size is -1, or size is -!= -1 and the memory can be allocated; otherwise returns FALSE. +

Returns true if successful, i.e. if size is -1, or size is +!= -1 and the memory can be allocated; otherwise returns false.

See also resize().

int TQMemArray::find ( const type & v, uint index = 0 ) const @@ -375,14 +375,14 @@ filled.

bool TQMemArray::isEmpty () const

-

Returns TRUE if the array is empty; otherwise returns FALSE. +

Returns true if the array is empty; otherwise returns false.

isEmpty() is equivalent to isNull() for TQMemArray (unlike TQString).

bool TQMemArray::isNull () const

-

Returns TRUE if the array is null; otherwise returns FALSE. +

Returns true if the array is null; otherwise returns false.

A null array has size() == 0 and data() == 0.

uint TQMemArray::nrefs () const @@ -400,8 +400,8 @@ reference count is always greater than zero.

bool TQMemArray::operator!= ( const TQMemArray<type> & a ) const

-

Returns TRUE if this array is different from a; otherwise -returns FALSE. +

Returns true if this array is different from a; otherwise +returns false.

The two arrays are compared bitwise.

See also operator==(). @@ -415,8 +415,8 @@ reference to this array.

bool TQMemArray::operator== ( const TQMemArray<type> & a ) const

-

Returns TRUE if this array is equal to a; otherwise returns -FALSE. +

Returns true if this array is equal to a; otherwise returns +false.

The two arrays are compared bitwise.

See also operator!=(). @@ -446,7 +446,7 @@ passed to setRawData(). This is for consistency checking.

Resizes (expands or shrinks) the array to size elements. The array becomes a null array if size == 0. -

Returns TRUE if successful, or FALSE if the memory cannot be +

Returns true if successful, or false if the memory cannot be allocated.

New elements are not initialized.

optim is either TQGArray::MemOptim (the default) or @@ -463,8 +463,8 @@ configuration.

This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

Resizes (expands or shrinks) the array to size elements. The array becomes a null array if size == 0. -

Returns TRUE if successful, i.e. if the memory can be allocated; -otherwise returns FALSE. +

Returns true if successful, i.e. if the memory can be allocated; +otherwise returns false.

New elements are not initialized.

See also size(). @@ -521,8 +521,8 @@ comparison (memcmp()).

Truncates the array at position pos. -

Returns TRUE if successful, i.e. if the memory can be allocated; -otherwise returns FALSE. +

Returns true if successful, i.e. if the memory can be allocated; +otherwise returns false.

Equivalent to resize(pos).

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