diff options
Diffstat (limited to 'doc/qcache.doc')
-rw-r--r-- | doc/qcache.doc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/qcache.doc b/doc/qcache.doc index 14bc9c926..edf60fdb2 100644 --- a/doc/qcache.doc +++ b/doc/qcache.doc @@ -74,11 +74,11 @@ 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. + function TQPtrCollection::newItem() for the item to be inserted. Inherit a cache and reimplement newItem() if you want deep copies. When removing a cache item, the virtual function - QPtrCollection::deleteItem() is called. The default + TQPtrCollection::deleteItem() is called. The default implementation deletes the item if auto-deletion is enabled, and does nothing otherwise. |