diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-08-06 11:29:57 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-08-06 11:29:57 +0900 |
commit | dcce5b1f2c449ed9a02b1752e0d74f147a83d07d (patch) | |
tree | d57fe27457a96451f1a67e2a2db268a441d917fc /doc/html/tqptrvector.html | |
parent | 649c4c61a1f1f479f4532b196f68df476cef2680 (diff) | |
download | tqt-rename/true-false-4.tar.gz tqt-rename/true-false-4.zip |
Replace TRUE/FALSE with boolean values true/false - part 4rename/true-false-4
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/tqptrvector.html')
-rw-r--r-- | doc/html/tqptrvector.html | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/doc/html/tqptrvector.html b/doc/html/tqptrvector.html index c9bec8723..91e0bb7ff 100644 --- a/doc/html/tqptrvector.html +++ b/doc/html/tqptrvector.html @@ -145,7 +145,7 @@ that position. <em>i</em> must be less than <a href="#size">size</a>(). <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>int <a name="bsearch"></a>TQPtrVector::bsearch ( const type * d ) const @@ -226,9 +226,9 @@ type*. items are removed. If <em>d</em> is 0, the vector becomes empty. <p> If <em>size</em> >= 0, the vector is first resized to <em>size</em>. By default, <em>size</em> is -1. -<p> Returns TRUE if successful, i.e. <em>size</em> is the same as the +<p> Returns true if successful, i.e. <em>size</em> is the same as the current size, or <em>size</em> is larger and the memory has successfully -been allocated; otherwise returns FALSE. +been allocated; otherwise returns false. <p> <p>See also <a href="#resize">resize</a>(), <a href="#insert">insert</a>(), and <a href="#isEmpty">isEmpty</a>(). <h3 class=fn>int <a name="find"></a>TQPtrVector::find ( const type * d, uint i = 0 ) const @@ -266,13 +266,13 @@ removed. <h3 class=fn>bool <a name="isEmpty"></a>TQPtrVector::isEmpty () const </h3> -<p> Returns TRUE if the vector is empty; otherwise returns FALSE. +<p> Returns true if the vector is empty; otherwise returns false. <p> <p>See also <a href="#count">count</a>(). <h3 class=fn>bool <a name="isNull"></a>TQPtrVector::isNull () const </h3> -<p> Returns TRUE if the vector is null; otherwise returns FALSE. +<p> Returns true if the vector is null; otherwise returns false. <p> A null vector has <a href="#size">size</a>() == 0 and <a href="#data">data</a>() == 0. <p> <p>See also <a href="#size">size</a>(). @@ -288,8 +288,8 @@ copied into the vector. Only the pointers are copied (i.e. <a href="shclass.html <h3 class=fn>bool <a name="operator-eq-eq"></a>TQPtrVector::operator== ( const <a href="tqptrvector.html">TQPtrVector</a><type> & v ) const </h3> -<p> Returns TRUE if this vector and <em>v</em> are equal; otherwise returns -FALSE. +<p> Returns true if this vector and <em>v</em> are equal; otherwise returns +false. <h3 class=fn>type * <a name="operator[]"></a>TQPtrVector::operator[] ( int i ) const </h3> @@ -312,7 +312,7 @@ reference to the stream. <p> Removes the item at position <em>i</em> in the vector, if there is one. <em>i</em> must be less than <a href="#size">size</a>(). -<p> Returns TRUE if <em>i</em> is within range; otherwise returns FALSE. +<p> Returns true if <em>i</em> is within range; otherwise returns false. <p> <p>See also <a href="#take">take</a>() and <a href="#at">at</a>(). <h3 class=fn>bool <a name="resize"></a>TQPtrVector::resize ( uint size ) @@ -322,19 +322,19 @@ reference to the stream. vector becomes a null vector if <em>size</em> == 0. <p> Any items at position <em>size</em> or beyond in the vector are removed. New positions are initialized to 0. -<p> Returns TRUE if successful, i.e. if the memory was successfully -allocated; otherwise returns FALSE. +<p> Returns true if successful, i.e. if the memory was successfully +allocated; otherwise returns false. <p> <p>See also <a href="#size">size</a>() and <a href="#isNull">isNull</a>(). <h3 class=fn>void <a name="setAutoDelete"></a>TQPtrCollection::setAutoDelete ( bool enable ) </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 |