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/ntqintcache.html | |
parent | 1f0ce8533cc837aa2d4155b5fc17d2004bed0197 (diff) | |
download | tqt-0881ed50.tar.gz tqt-0881ed50.zip |
Rename ptr nt* related files to equivalent tq*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/ntqintcache.html')
-rw-r--r-- | doc/html/ntqintcache.html | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/html/ntqintcache.html b/doc/html/ntqintcache.html index 8bd43af2e..61587a90e 100644 --- a/doc/html/ntqintcache.html +++ b/doc/html/ntqintcache.html @@ -34,7 +34,7 @@ body { background: #ffffff; color: black; } <p>The TQIntCache class is a template class that provides a cache based on long keys. <a href="#details">More...</a> <p><tt>#include <<a href="qintcache-h.html">ntqintcache.h</a>></tt> -<p>Inherits <a href="ntqptrcollection.html">TQPtrCollection</a>. +<p>Inherits <a href="tqptrcollection.html">TQPtrCollection</a>. <p><a href="qintcache-members.html">List of all member functions.</a> <h2>Public Members</h2> <ul> @@ -74,14 +74,14 @@ the cache are removed. item, returns it, and by default marks it as being the most recently used item. <p> There are also methods to <a href="#remove">remove</a>() or <a href="#take">take</a>() an object from the -cache. Calling <a href="ntqptrcollection.html#setAutoDelete">setAutoDelete</a>(TRUE) for a cache tells it to delete +cache. Calling <a href="tqptrcollection.html#setAutoDelete">setAutoDelete</a>(TRUE) for a cache tells it to delete items that are removed. The default is to not delete items when they are removed (i.e. remove() and take() are equivalent). <p> When inserting an item into the cache, only the pointer is copied, not the item itself. This is called a <a href="shclass.html#shallow-copy">shallow copy</a>. It is possible to make the cache copy all of the item's data (known as a <a href="shclass.html#deep-copy">deep copy</a>) when an item is inserted. insert() 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 cache item, the item will be automatically deleted if auto-deletion is enabled. @@ -119,14 +119,14 @@ auto-deletion has been enabled. <p> All cache iterators that operate this on cache are reset. <p> <p>See also <a href="#remove">remove</a>() and <a href="#take">take</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>TQIntCache::count () const<tt> [virtual]</tt> </h3> <p> Returns the number of items in the cache. <p> <p>See also <a href="#totalCost">totalCost</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>TQIntCache::find ( long k, bool ref = TRUE ) const </h3> @@ -182,7 +182,7 @@ inserted most recently is returned. <p> Removes the item associated with <em>k</em>, and returns TRUE if the item was present in the cache; otherwise returns FALSE. <p> The item is deleted if auto-deletion has been enabled, i.e. if you -have called <a href="ntqptrcollection.html#setAutoDelete">setAutoDelete</a>(TRUE). +have called <a href="tqptrcollection.html#setAutoDelete">setAutoDelete</a>(TRUE). <p> If there are two or more items with equal keys, the one that was inserted most recently is removed. <p> All iterators that refer to the removed item are set to point to |