summaryrefslogtreecommitdiffstats
path: root/doc/html/tqdict.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/tqdict.html')
-rw-r--r--doc/html/tqdict.html28
1 files changed, 14 insertions, 14 deletions
diff --git a/doc/html/tqdict.html b/doc/html/tqdict.html
index f3d034688..ab7e79d8b 100644
--- a/doc/html/tqdict.html
+++ b/doc/html/tqdict.html
@@ -38,7 +38,7 @@ dictionary based on TQString keys.
<p><a href="tqdict-members.html">List of all member functions.</a>
<h2>Public Members</h2>
<ul>
-<li class=fn><a href="#TQDict"><b>TQDict</b></a> ( int&nbsp;size = 17, bool&nbsp;caseSensitive = TRUE )</li>
+<li class=fn><a href="#TQDict"><b>TQDict</b></a> ( int&nbsp;size = 17, bool&nbsp;caseSensitive = true )</li>
<li class=fn><a href="#TQDict-2"><b>TQDict</b></a> ( const&nbsp;TQDict&lt;type&gt;&nbsp;&amp;&nbsp;dict )</li>
<li class=fn><a href="#~TQDict"><b>~TQDict</b></a> ()</li>
<li class=fn>TQDict&lt;type&gt; &amp; <a href="#operator-eq"><b>operator=</b></a> ( const&nbsp;TQDict&lt;type&gt;&nbsp;&amp;&nbsp;dict )</li>
@@ -94,11 +94,11 @@ changed with <a href="#resize">resize</a>().
Items are removed with <a href="#remove">remove</a>(). All the items in a dictionary can
be removed with <a href="#clear">clear</a>(). The number of items in the dictionary is
returned by <a href="#count">count</a>(). If the dictionary contains no items <a href="#isEmpty">isEmpty</a>()
-returns TRUE. You can change an item's value with <a href="#replace">replace</a>(). Items
+returns true. You can change an item's value with <a href="#replace">replace</a>(). Items
are looked up with <a href="#operator[]">operator[]</a>(), or with <a href="#find">find</a>() which return a
pointer to the value or 0 if the given key does not exist. You can
take an item out of the dictionary with <a href="#take">take</a>().
-<p> Calling <a href="tqptrcollection.html#setAutoDelete">setAutoDelete</a>(TRUE) for a dictionary tells it to delete
+<p> Calling <a href="tqptrcollection.html#setAutoDelete">setAutoDelete</a>(true) for a dictionary tells it to delete
items that are removed. The default behaviour is not to delete
items when they are removed.
<p> When an item is inserted, the key is converted (hashed) to an
@@ -151,7 +151,7 @@ dictionary.
<pre>
<a href="tqstringlist.html">TQStringList</a> styleList = TQStyleFactory::styles();
styleList.<a href="tqstringlist.html#sort">sort</a>();
- TQDict&lt;int&gt; letterDict( 17, FALSE );
+ TQDict&lt;int&gt; letterDict( 17, false );
for ( TQStringList::Iterator it = styleList.<a href="tqvaluelist.html#begin">begin</a>(); it != styleList.<a href="tqvaluelist.html#end">end</a>(); ++it ) {
<a href="tqstring.html">TQString</a> styleName = *it;
<a href="tqstring.html">TQString</a> styleAccel = styleName;
@@ -193,7 +193,7 @@ the accelerator and add it to the dictionary. Finally we create a
<p> <p>See also <a href="tqdictiterator.html">TQDictIterator</a>, <a href="tqasciidict.html">TQAsciiDict</a>, <a href="tqintdict.html">TQIntDict</a>, <a href="tqptrdict.html">TQPtrDict</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="TQDict"></a>TQDict::TQDict ( int&nbsp;size = 17, bool&nbsp;caseSensitive = TRUE )
+<h3 class=fn><a name="TQDict"></a>TQDict::TQDict ( int&nbsp;size = 17, bool&nbsp;caseSensitive = true )
</h3>
<p> Constructs a dictionary optimized for less than <em>size</em> entries.
@@ -201,7 +201,7 @@ the accelerator and add it to the dictionary. Finally we create a
(e.g. a prime that's slightly larger than the expected number of
entries). This makes the hash distribution better which will lead
to faster lookup.
-<p> If <em>caseSensitive</em> is TRUE (the default), keys which differ only
+<p> If <em>caseSensitive</em> is true (the default), keys which differ only
by case are considered different.
<h3 class=fn><a name="TQDict-2"></a>TQDict::TQDict ( const&nbsp;<a href="tqdict.html">TQDict</a>&lt;type&gt;&nbsp;&amp;&nbsp;dict )
@@ -215,14 +215,14 @@ pointers are copied (shallow copy).
</h3>
<p> Removes all items from the dictionary and destroys it. If
-<a href="tqptrcollection.html#setAutoDelete">setAutoDelete</a>() is TRUE, each value is deleted. All iterators that
+<a href="tqptrcollection.html#setAutoDelete">setAutoDelete</a>() is true, each value is deleted. All iterators that
access this dictionary will be reset.
<p> <p>See also <a href="tqptrcollection.html#setAutoDelete">setAutoDelete</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>void <a name="clear"></a>TQDict::clear ()<tt> [virtual]</tt>
@@ -264,8 +264,8 @@ item will be accessible using <a href="#operator[]">operator[]</a>().
<h3 class=fn>bool <a name="isEmpty"></a>TQDict::isEmpty () const
</h3>
-<p> Returns TRUE if the dictionary is empty, i.e. <a href="#count">count</a>() == 0;
-otherwise returns FALSE.
+<p> Returns true if the dictionary is empty, i.e. <a href="#count">count</a>() == 0;
+otherwise returns false.
<p> <p>See also <a href="#count">count</a>().
<h3 class=fn><a href="tqdict.html">TQDict</a>&lt;type&gt;&nbsp;&amp; <a name="operator-eq"></a>TQDict::operator= ( const&nbsp;<a href="tqdict.html">TQDict</a>&lt;type&gt;&nbsp;&amp;&nbsp;dict )
@@ -298,9 +298,9 @@ reference to the stream.
<h3 class=fn>bool <a name="remove"></a>TQDict::remove ( const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;key )
</h3>
-<p> Removes the item with <em>key</em> from the dictionary. Returns TRUE if
+<p> Removes the item with <em>key</em> from the dictionary. Returns true if
successful, i.e. if the item is in the dictionary; otherwise
-returns FALSE.
+returns false.
<p> If there are two or more items with equal keys, then the last item
that was inserted will be removed.
<p> The removed item is deleted if <a href="tqptrcollection.html#setAutoDelete">auto-deletion</a> is enabled.
@@ -338,11 +338,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