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/tqptrcollection.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'doc/html/tqptrcollection.html') diff --git a/doc/html/tqptrcollection.html b/doc/html/tqptrcollection.html index 9646d864a..14061b8ad 100644 --- a/doc/html/tqptrcollection.html +++ b/doc/html/tqptrcollection.html @@ -85,7 +85,7 @@ TQPtrCollection is an abstract class.

TQPtrCollection::TQPtrCollection ( const TQPtrCollection & source ) [protected]

-

Constructs a copy of source with autoDelete() set to FALSE. The +

Constructs a copy of source with autoDelete() set to false. The constructor is protected because TQPtrCollection is an abstract class.

Note that if source has autoDelete turned on, copying it will @@ -100,7 +100,7 @@ TQPtrCollection is an abstract class.

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 TQPtrCollection::clear () [pure virtual] @@ -149,11 +149,11 @@ that is being inserted.

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