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/tqintdict.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'doc/html/tqintdict.html') diff --git a/doc/html/tqintdict.html b/doc/html/tqintdict.html index d25f1a99f..bdc91d5ea 100644 --- a/doc/html/tqintdict.html +++ b/doc/html/tqintdict.html @@ -131,7 +131,7 @@ pointers are copied (shallow copy).

bool TQPtrCollection::autoDelete () const

-

Returns the setting of the auto-delete option. The default is FALSE. +

Returns the setting of the auto-delete option. The default is false.

See also setAutoDelete().

void TQIntDict::clear () [virtual] @@ -174,7 +174,7 @@ item will be accessible using operator[]().

bool TQIntDict::isEmpty () const

-

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

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

See also count().

TQIntDict<type> & TQIntDict::operator= ( const TQIntDict<type> & dict ) @@ -208,8 +208,8 @@ reference to the stream.

Removes the item associated with key from the dictionary. -Returns TRUE if successful, i.e. if the key is in the -dictionary; otherwise returns FALSE. +Returns true if successful, i.e. if the key is in the +dictionary; otherwise returns false.

If there are two or more items with equal keys, then the most recently inserted item will be removed.

The removed item is deleted if auto-deletion is enabled. @@ -251,11 +251,11 @@ become invalid.

Sets the collection to auto-delete its contents if enable is -TRUE and to never delete them if enable is FALSE. +true and to never delete them if enable is false.

If auto-deleting is turned on, all the items in a collection are deleted when the collection itself is deleted. This is convenient if the collection has the only pointer to the items. -

The default setting is FALSE, for safety. If you turn it on, be +

The default setting is false, for safety. If you turn it on, be careful about copying the collection - you might find yourself with two collections deleting the same items.

Note that the auto-delete setting may also affect other functions -- cgit v1.2.3