diff options
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. |
