summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqasciicache.3qt
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-06-06 12:20:38 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-06-06 12:20:38 +0900
commit0881ed5059c46ce73e8241e6260b82b92f6d0e55 (patch)
tree6d1d4883cc07ad22b11017d0714d4c26e1ce1b94 /doc/man/man3/tqasciicache.3qt
parent1f0ce8533cc837aa2d4155b5fc17d2004bed0197 (diff)
downloadtqt3-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/man/man3/tqasciicache.3qt')
-rw-r--r--doc/man/man3/tqasciicache.3qt10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/man/man3/tqasciicache.3qt b/doc/man/man3/tqasciicache.3qt
index 9b1dadd68..7c6c7eff7 100644
--- a/doc/man/man3/tqasciicache.3qt
+++ b/doc/man/man3/tqasciicache.3qt
@@ -11,7 +11,7 @@ QAsciiCache \- Template class that provides a cache based on char* keys
.SH SYNOPSIS
\fC#include <ntqasciicache.h>\fR
.PP
-Inherits QPtrCollection.
+Inherits TQPtrCollection.
.PP
.SS "Public Members"
.in +1c
@@ -74,9 +74,9 @@ Apart from insert(), by far the most important function is find() (which also ex
.PP
There are also methods to remove() or take() an object from the cache. Calling setAutoDelete(TRUE) tells the cache to delete items that are removed. The default is to not delete items when then are removed (i.e., remove() and take() are equivalent).
.PP
-When inserting an item into the cache, only the pointer is copied, not the item itself. This is called a shallow copy. It is possible to make the cache copy all of the item's data (known as a deep copy) when an item is inserted. insert() calls the virtual function QPtrCollection::newItem() for the item to be inserted. Inherit a cache and reimplement newItem() if you want deep copies.
+When inserting an item into the cache, only the pointer is copied, not the item itself. This is called a shallow copy. It is possible to make the cache copy all of the item's data (known as a deep copy) when an item is inserted. insert() calls the virtual function TQPtrCollection::newItem() for the item to be inserted. Inherit a cache and reimplement newItem() if you want deep copies.
.PP
-When removing a cache item the virtual function QPtrCollection::deleteItem() is called. Its default implementation in QAsciiCache is to delete the item if auto-deletion is enabled.
+When removing a cache item the virtual function TQPtrCollection::deleteItem() is called. Its default implementation in QAsciiCache is to delete the item if auto-deletion is enabled.
.PP
There is a QAsciiCacheIterator which may be used to traverse the items in the cache in arbitrary order.
.PP
@@ -99,13 +99,13 @@ All cache iterators that operate on this cache are reset.
.PP
See also remove() and take().
.PP
-Reimplemented from QPtrCollection.
+Reimplemented from TQPtrCollection.
.SH "uint QAsciiCache::count () const\fC [virtual]\fR"
Returns the number of items in the cache.
.PP
See also totalCost() and size().
.PP
-Reimplemented from QPtrCollection.
+Reimplemented from TQPtrCollection.
.SH "type * QAsciiCache::find ( const char * k, bool ref = TRUE ) const"
Returns the item with key \fIk\fR, or 0 if the key does not exist in the cache. If \fIref\fR is TRUE (the default), the item is moved to the front of the least recently used list.
.PP