From 0881ed5059c46ce73e8241e6260b82b92f6d0e55 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 6 Jun 2024 12:20:38 +0900 Subject: Rename ptr nt* related files to equivalent tq* Signed-off-by: Michele Calgaro --- doc/man/man3/tqasciicache.3qt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'doc/man/man3/tqasciicache.3qt') diff --git a/doc/man/man3/tqasciicache.3qt b/doc/man/man3/tqasciicache.3qt index 9b1dadd6..7c6c7eff 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 \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 -- cgit v1.2.1