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/tqbitarray.html | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'doc/html/tqbitarray.html') diff --git a/doc/html/tqbitarray.html b/doc/html/tqbitarray.html index 03492f232..5e250cf84 100644 --- a/doc/html/tqbitarray.html +++ b/doc/html/tqbitarray.html @@ -154,12 +154,12 @@ if there is only a single reference.

Reimplemented from TQMemArray.

bool TQBitArray::fill ( bool v, int size = -1 )

-Fills the bit array with v (1's if v is TRUE, or 0's if v -is FALSE). +Fills the bit array with v (1's if v is true, or 0's if v +is false).

fill() resizes the bit array to size bits if size is nonnegative. -

Returns FALSE if a nonnegative size was specified and the bit -array could not be resized; otherwise returns TRUE. +

Returns false if a nonnegative size was specified and the bit +array could not be resized; otherwise returns true.

See also resize().

TQBitArray & TQBitArray::operator&= ( const TQBitArray & a ) @@ -251,8 +251,8 @@ Returns a bit array that contains the inverted bits of this bit array.

bool TQBitArray::resize ( uint size )

-Resizes the bit array to size bits and returns TRUE if the bit -array could be resized; otherwise returns FALSE. The array becomes +Resizes the bit array to size bits and returns true if the bit +array could be resized; otherwise returns false. The array becomes a null array if size == 0.

If the array is expanded, the new bits are set to 0.

See also size(). @@ -285,8 +285,8 @@ This is an overloaded member function, provided for convenience. It behaves esse

bool TQBitArray::testBit ( uint index ) const

-Returns TRUE if the bit at position index is set, i.e. is 1; -otherwise returns FALSE. +Returns true if the bit at position index is set, i.e. is 1; +otherwise returns false.

See also setBit() and clearBit().

bool TQBitArray::toggleBit ( uint index ) -- cgit v1.2.3