summaryrefslogtreecommitdiffstats
path: root/doc/html/tqasciidict.html
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-08-06 11:29:57 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-08-06 11:29:57 +0900
commitdcce5b1f2c449ed9a02b1752e0d74f147a83d07d (patch)
treed57fe27457a96451f1a67e2a2db268a441d917fc /doc/html/tqasciidict.html
parent649c4c61a1f1f479f4532b196f68df476cef2680 (diff)
downloadtqt-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/tqasciidict.html')
-rw-r--r--doc/html/tqasciidict.html26
1 files changed, 13 insertions, 13 deletions
diff --git a/doc/html/tqasciidict.html b/doc/html/tqasciidict.html
index a7bcc7b5b..f017afb7b 100644
--- a/doc/html/tqasciidict.html
+++ b/doc/html/tqasciidict.html
@@ -37,7 +37,7 @@ body { background: #ffffff; color: black; }
<p><a href="tqasciidict-members.html">List of all member functions.</a>
<h2>Public Members</h2>
<ul>
-<li class=fn><a href="#TQAsciiDict"><b>TQAsciiDict</b></a> ( int&nbsp;size = 17, bool&nbsp;caseSensitive = TRUE, bool&nbsp;copyKeys = TRUE )</li>
+<li class=fn><a href="#TQAsciiDict"><b>TQAsciiDict</b></a> ( int&nbsp;size = 17, bool&nbsp;caseSensitive = true, bool&nbsp;copyKeys = true )</li>
<li class=fn><a href="#TQAsciiDict-2"><b>TQAsciiDict</b></a> ( const&nbsp;TQAsciiDict&lt;type&gt;&nbsp;&amp;&nbsp;dict )</li>
<li class=fn><a href="#~TQAsciiDict"><b>~TQAsciiDict</b></a> ()</li>
<li class=fn>TQAsciiDict&lt;type&gt; &amp; <a href="#operator-eq"><b>operator=</b></a> ( const&nbsp;TQAsciiDict&lt;type&gt;&nbsp;&amp;&nbsp;dict )</li>
@@ -112,19 +112,19 @@ size, and how deletions are handled.
<p> <p>See also <a href="tqasciidictiterator.html">TQAsciiDictIterator</a>, <a href="tqdict.html">TQDict</a>, <a href="tqintdict.html">TQIntDict</a>, <a href="tqptrdict.html">TQPtrDict</a>, <a href="collection.html">Collection Classes</a>, <a href="collection.html">Collection Classes</a>, and <a href="tools.html">Non-GUI Classes</a>.
<hr><h2>Member Function Documentation</h2>
-<h3 class=fn><a name="TQAsciiDict"></a>TQAsciiDict::TQAsciiDict ( int&nbsp;size = 17, bool&nbsp;caseSensitive = TRUE, bool&nbsp;copyKeys = TRUE )
+<h3 class=fn><a name="TQAsciiDict"></a>TQAsciiDict::TQAsciiDict ( int&nbsp;size = 17, bool&nbsp;caseSensitive = true, bool&nbsp;copyKeys = true )
</h3>
<p> Constructs a dictionary optimized for less than <em>size</em> entries.
<p> We recommend setting <em>size</em> to a suitably large <a href="primes.html#prime">prime</a> number (a
bit larger than the expected number of entries). This makes the
hash distribution better and will improve lookup performance.
-<p> When <em>caseSensitive</em> is TRUE (the default) TQAsciiDict treats
-"abc" and "Abc" as different keys; when it is FALSE "abc" and
+<p> When <em>caseSensitive</em> is true (the default) TQAsciiDict treats
+"abc" and "Abc" as different keys; when it is false "abc" and
"Abc" are the same. Case-insensitive comparison only considers the
26 letters in US-ASCII.
-<p> If <em>copyKeys</em> is TRUE (the default), the dictionary copies keys
-using strcpy(); if it is FALSE, the dictionary just copies the
+<p> If <em>copyKeys</em> is true (the default), the dictionary copies keys
+using strcpy(); if it is false, the dictionary just copies the
pointers.
<h3 class=fn><a name="TQAsciiDict-2"></a>TQAsciiDict::TQAsciiDict ( const&nbsp;<a href="tqasciidict.html">TQAsciiDict</a>&lt;type&gt;&nbsp;&amp;&nbsp;dict )
@@ -145,7 +145,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>TQAsciiDict::clear ()<tt> [virtual]</tt>
@@ -188,8 +188,8 @@ item will be accessible using <a href="#operator[]">operator[]</a>().
<h3 class=fn>bool <a name="isEmpty"></a>TQAsciiDict::isEmpty () const
</h3>
-<p> Returns TRUE if the dictionary is empty, i.e. <a href="#count">count</a>() == 0;
-otherwise it returns FALSE.
+<p> Returns true if the dictionary is empty, i.e. <a href="#count">count</a>() == 0;
+otherwise it returns false.
<p> <p>See also <a href="#count">count</a>().
<h3 class=fn><a href="tqasciidict.html">TQAsciiDict</a>&lt;type&gt;&nbsp;&amp; <a name="operator-eq"></a>TQAsciiDict::operator= ( const&nbsp;<a href="tqasciidict.html">TQAsciiDict</a>&lt;type&gt;&nbsp;&amp;&nbsp;dict )
@@ -225,8 +225,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 the key existed in the
-dictionary; otherwise returns FALSE.
+Returns true if successful, i.e. if the key existed 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.
@@ -264,11 +264,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