diff options
Diffstat (limited to 'doc/html/tqptrdict.html')
-rw-r--r-- | doc/html/tqptrdict.html | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/html/tqptrdict.html b/doc/html/tqptrdict.html index a2dbd76c4..fe5babb25 100644 --- a/doc/html/tqptrdict.html +++ b/doc/html/tqptrdict.html @@ -139,7 +139,7 @@ pointers are copied (shallow copy). <h3 class=fn>bool <a name="autoDelete"></a>TQPtrCollection::autoDelete () const </h3> -<p> Returns the setting of the auto-delete option. The default is FALSE. +<p> Returns the setting of the auto-delete option. The default is false. <p> <p>See also <a href="tqptrcollection.html#setAutoDelete">setAutoDelete</a>(). <h3 class=fn>void <a name="clear"></a>TQPtrDict::clear ()<tt> [virtual]</tt> @@ -181,7 +181,7 @@ item will be accessible using <a href="#operator[]">operator[]</a>(). <h3 class=fn>bool <a name="isEmpty"></a>TQPtrDict::isEmpty () const </h3> -<p> Returns TRUE if the dictionary is empty; otherwise returns FALSE. +<p> Returns true if the dictionary is empty; otherwise returns false. <p> <p>See also <a href="#count">count</a>(). <h3 class=fn><a href="tqptrdict.html">TQPtrDict</a><type> & <a name="operator-eq"></a>TQPtrDict::operator= ( const <a href="tqptrdict.html">TQPtrDict</a><type> & dict ) @@ -215,8 +215,8 @@ reference to the stream. </h3> <p> Removes the item associated with <em>key</em> from the dictionary. -Returns TRUE if successful, i.e. if <em>key</em> is in the dictionary; -otherwise returns FALSE. +Returns true if successful, i.e. if <em>key</em> is in the dictionary; +otherwise returns false. <p> If there are two or more items with equal keys, then the most recently inserted item will be removed. <p> The removed item is deleted if <a href="tqptrcollection.html#setAutoDelete">auto-deletion</a> is enabled. @@ -255,11 +255,11 @@ become invalid. </h3> <p> Sets the collection to auto-delete its contents if <em>enable</em> is -TRUE and to never delete them if <em>enable</em> is FALSE. +true and to never delete them if <em>enable</em> is false. <p> 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. -<p> The default setting is FALSE, for safety. If you turn it on, be +<p> 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. <p> Note that the auto-delete setting may also affect other functions |