diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-11-26 15:11:22 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-11-26 15:11:22 +0900 |
| commit | b87533f9904c10f24d6b2e8177c00944e3efe15b (patch) | |
| tree | c1106a381c851b51e86004698457aef1211b77be /doc/html/ntqptrvector.html | |
| parent | 894037c3e68e1573a34183d936171f8cda5085f3 (diff) | |
| download | tqt-r14.1.x.tar.gz tqt-r14.1.x.zip | |
Replace TRUE/FALSE with boolean values true/false - part 4r14.1.x
Manually cherry-picked from commit 4d495175
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/ntqptrvector.html')
| -rw-r--r-- | doc/html/ntqptrvector.html | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/doc/html/ntqptrvector.html b/doc/html/ntqptrvector.html index f2f3ff9fa..9fe2cd575 100644 --- a/doc/html/ntqptrvector.html +++ b/doc/html/ntqptrvector.html @@ -146,7 +146,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="ntqptrcollection.html#setAutoDelete">setAutoDelete</a>(). <h3 class=fn>int <a name="bsearch"></a>TQPtrVector::bsearch ( const type * d ) const @@ -227,9 +227,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 @@ -267,13 +267,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>(). @@ -289,8 +289,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="ntqptrvector.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> @@ -313,7 +313,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 ) @@ -323,19 +323,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 |
