diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-12-22 12:05:18 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-12-22 12:13:05 +0900 |
| commit | a4ebd73f48610ed351c9c53f3646d0597f8ea7bc (patch) | |
| tree | 2edd219eef4cb8f35bb3844d06902ae8b2fcb565 /src/tools/tqptrcollection.cpp | |
| parent | 7d612f7c91d55501276a385a30dbadb121e7bd9f (diff) | |
| download | tqt-rename/true-false-9.tar.gz tqt-rename/true-false-9.zip | |
Replace TRUE/FALSE with boolean values true/false - part 9rename/true-false-9
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/tools/tqptrcollection.cpp')
| -rw-r--r-- | src/tools/tqptrcollection.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tools/tqptrcollection.cpp b/src/tools/tqptrcollection.cpp index 7a9258c5e..ef59e462e 100644 --- a/src/tools/tqptrcollection.cpp +++ b/src/tools/tqptrcollection.cpp @@ -79,7 +79,7 @@ /*! \fn TQPtrCollection::TQPtrCollection( const TQPtrCollection & source ) - Constructs a copy of \a source with autoDelete() set to FALSE. The + Constructs a copy of \a source with autoDelete() set to false. The constructor is protected because TQPtrCollection is an abstract class. @@ -98,7 +98,7 @@ /*! \fn 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. \sa setAutoDelete() */ @@ -107,13 +107,13 @@ \fn void TQPtrCollection::setAutoDelete( bool enable ) Sets the collection to auto-delete its contents if \a enable is - TRUE and to never delete them if \a enable is FALSE. + true and to never delete them if \a 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. |
