diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-06-06 12:20:38 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-06-06 12:20:38 +0900 |
commit | 0881ed5059c46ce73e8241e6260b82b92f6d0e55 (patch) | |
tree | 6d1d4883cc07ad22b11017d0714d4c26e1ce1b94 /doc/html/ntqdict.html | |
parent | 1f0ce8533cc837aa2d4155b5fc17d2004bed0197 (diff) | |
download | tqt3-0881ed5059c46ce73e8241e6260b82b92f6d0e55.tar.gz tqt3-0881ed5059c46ce73e8241e6260b82b92f6d0e55.zip |
Rename ptr nt* related files to equivalent tq*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/ntqdict.html')
-rw-r--r-- | doc/html/ntqdict.html | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/doc/html/ntqdict.html b/doc/html/ntqdict.html index cfca2729d..e8eade989 100644 --- a/doc/html/ntqdict.html +++ b/doc/html/ntqdict.html @@ -35,7 +35,7 @@ body { background: #ffffff; color: black; } dictionary based on TQString keys. <a href="#details">More...</a> <p><tt>#include <<a href="qdict-h.html">ntqdict.h</a>></tt> -<p>Inherits <a href="ntqptrcollection.html">TQPtrCollection</a>. +<p>Inherits <a href="tqptrcollection.html">TQPtrCollection</a>. <p><a href="qdict-members.html">List of all member functions.</a> <h2>Public Members</h2> <ul> @@ -99,7 +99,7 @@ returns TRUE. You can change an item's value with <a href="#replace">replace</a> 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="ntqptrcollection.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 @@ -115,11 +115,11 @@ the same dictionary. copied, not the item itself, i.e. a <a href="shclass.html#shallow-copy">shallow copy</a> is made. It is possible to make the dictionary copy all of the item's data (a <a href="shclass.html#deep-copy">deep copy</a>) when an item is inserted. <a href="#insert">insert</a>() calls the virtual -function <a href="ntqptrcollection.html#newItem">TQPtrCollection::newItem</a>() for the item to be inserted. -Inherit a dictionary and reimplement <a href="ntqptrcollection.html#newItem">newItem</a>() if you want deep +function <a href="tqptrcollection.html#newItem">TQPtrCollection::newItem</a>() for the item to be inserted. +Inherit a dictionary and reimplement <a href="tqptrcollection.html#newItem">newItem</a>() if you want deep copies. <p> When removing a dictionary item, the virtual function -<a href="ntqptrcollection.html#deleteItem">TQPtrCollection::deleteItem</a>() is called. TQDict's default +<a href="tqptrcollection.html#deleteItem">TQPtrCollection::deleteItem</a>() is called. TQDict's default implementation is to delete the item if auto-deletion is enabled. <p> Example #1: <pre> @@ -191,7 +191,7 @@ letter the style will simply have no accelerator. If the first letter of the style name is not in the dictionary we use it for the accelerator and add it to the dictionary. Finally we create a <a href="ntqaction.html">TQAction</a> for each style. -<p> <p>See also <a href="qdictiterator.html">TQDictIterator</a>, <a href="ntqasciidict.html">TQAsciiDict</a>, <a href="ntqintdict.html">TQIntDict</a>, <a href="ntqptrdict.html">TQPtrDict</a>, <a href="collection.html">Collection Classes</a>, and <a href="tools.html">Non-GUI Classes</a>. +<p> <p>See also <a href="qdictiterator.html">TQDictIterator</a>, <a href="ntqasciidict.html">TQAsciiDict</a>, <a href="ntqintdict.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 size = 17, bool caseSensitive = TRUE ) @@ -216,32 +216,32 @@ pointers are copied (shallow copy). </h3> <p> Removes all items from the dictionary and destroys it. If -<a href="ntqptrcollection.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="ntqptrcollection.html#setAutoDelete">setAutoDelete</a>(). +<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> <p>See also <a href="ntqptrcollection.html#setAutoDelete">setAutoDelete</a>(). +<p> <p>See also <a href="tqptrcollection.html#setAutoDelete">setAutoDelete</a>(). <h3 class=fn>void <a name="clear"></a>TQDict::clear ()<tt> [virtual]</tt> </h3> <p> Removes all items from the dictionary. -<p> The removed items are deleted if <a href="ntqptrcollection.html#setAutoDelete">auto-deletion</a> is enabled. +<p> The removed items are deleted if <a href="tqptrcollection.html#setAutoDelete">auto-deletion</a> is enabled. <p> All dictionary iterators that operate on the dictionary are reset. -<p> <p>See also <a href="#remove">remove</a>(), <a href="#take">take</a>(), and <a href="ntqptrcollection.html#setAutoDelete">setAutoDelete</a>(). +<p> <p>See also <a href="#remove">remove</a>(), <a href="#take">take</a>(), and <a href="tqptrcollection.html#setAutoDelete">setAutoDelete</a>(). -<p>Reimplemented from <a href="ntqptrcollection.html#clear">TQPtrCollection</a>. +<p>Reimplemented from <a href="tqptrcollection.html#clear">TQPtrCollection</a>. <h3 class=fn>uint <a name="count"></a>TQDict::count () const<tt> [virtual]</tt> </h3> <p> Returns the number of items in the dictionary. <p> <p>See also <a href="#isEmpty">isEmpty</a>(). -<p>Reimplemented from <a href="ntqptrcollection.html#count">TQPtrCollection</a>. +<p>Reimplemented from <a href="tqptrcollection.html#count">TQPtrCollection</a>. <h3 class=fn>type * <a name="find"></a>TQDict::find ( const <a href="ntqstring.html">TQString</a> & key ) const </h3> @@ -276,7 +276,7 @@ otherwise returns FALSE. dictionary. <p> This dictionary is first cleared, then each item in <em>dict</em> is inserted into this dictionary. Only the pointers are copied -(shallow copy), unless <a href="ntqptrcollection.html#newItem">newItem</a>() has been reimplemented. +(shallow copy), unless <a href="tqptrcollection.html#newItem">newItem</a>() has been reimplemented. <h3 class=fn>type * <a name="operator[]"></a>TQDict::operator[] ( const <a href="ntqstring.html">TQString</a> & key ) const </h3> @@ -288,7 +288,7 @@ recently inserted item will be found. <p> Equivalent to the <a href="#find">find</a>() function. <p> <p>See also <a href="#find">find</a>(). -<h3 class=fn><a href="ntqdatastream.html">TQDataStream</a> & <a name="read"></a>TQDict::read ( <a href="ntqdatastream.html">TQDataStream</a> & s, <a href="ntqptrcollection.html#Item">TQPtrCollection::Item</a> & item )<tt> [virtual protected]</tt> +<h3 class=fn><a href="ntqdatastream.html">TQDataStream</a> & <a name="read"></a>TQDict::read ( <a href="ntqdatastream.html">TQDataStream</a> & s, <a href="tqptrcollection.html#Item">TQPtrCollection::Item</a> & item )<tt> [virtual protected]</tt> </h3> <p> Reads a dictionary item from the stream <em>s</em> and returns a @@ -304,10 +304,10 @@ successful, i.e. if the item is in the dictionary; otherwise 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="ntqptrcollection.html#setAutoDelete">auto-deletion</a> is enabled. +<p> The removed item is deleted if <a href="tqptrcollection.html#setAutoDelete">auto-deletion</a> is enabled. <p> All dictionary iterators that refer to the removed item will be set to point to the next item in the dictionary's traversal order. -<p> <p>See also <a href="#take">take</a>(), <a href="#clear">clear</a>(), and <a href="ntqptrcollection.html#setAutoDelete">setAutoDelete</a>(). +<p> <p>See also <a href="#take">take</a>(), <a href="#clear">clear</a>(), and <a href="tqptrcollection.html#setAutoDelete">setAutoDelete</a>(). <h3 class=fn>void <a name="replace"></a>TQDict::replace ( const <a href="ntqstring.html">TQString</a> & key, const type * item ) </h3> @@ -350,7 +350,7 @@ with two collections deleting the same items. in subclasses. For example, a subclass that has a <a href="#remove">remove</a>() function will remove the item from its data structure, and if auto-delete is enabled, will also delete the item. -<p> <p>See also <a href="ntqptrcollection.html#autoDelete">autoDelete</a>(). +<p> <p>See also <a href="tqptrcollection.html#autoDelete">autoDelete</a>(). <p>Examples: <a href="grapher-nsplugin-example.html#x2769">grapher/grapher.cpp</a>, <a href="scribble-example.html#x924">scribble/scribble.cpp</a>, and <a href="bigtable-example.html#x1291">table/bigtable/main.cpp</a>. <h3 class=fn>uint <a name="size"></a>TQDict::size () const @@ -370,16 +370,16 @@ distribution using <a href="ntqapplication.html#qDebug">tqDebug</a>(). </h3> <p> Takes the item with <em>key</em> out of the dictionary without deleting -it (even if <a href="ntqptrcollection.html#setAutoDelete">auto-deletion</a> is enabled). +it (even if <a href="tqptrcollection.html#setAutoDelete">auto-deletion</a> is enabled). <p> If there are two or more items with equal keys, then the last item that was inserted will be taken. <p> Returns a pointer to the item taken out, or 0 if the key does not exist in the dictionary. <p> All dictionary iterators that refer to the taken item will be set to point to the next item in the dictionary traversal order. -<p> <p>See also <a href="#remove">remove</a>(), <a href="#clear">clear</a>(), and <a href="ntqptrcollection.html#setAutoDelete">setAutoDelete</a>(). +<p> <p>See also <a href="#remove">remove</a>(), <a href="#clear">clear</a>(), and <a href="tqptrcollection.html#setAutoDelete">setAutoDelete</a>(). -<h3 class=fn><a href="ntqdatastream.html">TQDataStream</a> & <a name="write"></a>TQDict::write ( <a href="ntqdatastream.html">TQDataStream</a> & s, <a href="ntqptrcollection.html#Item">TQPtrCollection::Item</a> ) const<tt> [virtual protected]</tt> +<h3 class=fn><a href="ntqdatastream.html">TQDataStream</a> & <a name="write"></a>TQDict::write ( <a href="ntqdatastream.html">TQDataStream</a> & s, <a href="tqptrcollection.html#Item">TQPtrCollection::Item</a> ) const<tt> [virtual protected]</tt> </h3> <p> Writes a dictionary item to the stream <em>s</em> and returns a |