diff options
Diffstat (limited to 'doc/qdict.doc')
-rw-r--r-- | doc/qdict.doc | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/qdict.doc b/doc/qdict.doc index c28967d8f..bb80e3301 100644 --- a/doc/qdict.doc +++ b/doc/qdict.doc @@ -102,12 +102,12 @@ copied, not the item itself, i.e. a shallow copy is made. It is possible to make the dictionary copy all of the item's data (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 dictionary and reimplement newItem() if you want deep copies. When removing a dictionary item, the virtual function - QPtrCollection::deleteItem() is called. QDict's default + TQPtrCollection::deleteItem() is called. QDict's default implementation is to delete the item if auto-deletion is enabled. Example #1: @@ -181,7 +181,7 @@ the accelerator and add it to the dictionary. Finally we create a QAction for each style. - \sa QDictIterator, QAsciiDict, QIntDict, QPtrDict + \sa QDictIterator, QAsciiDict, QIntDict, TQPtrDict */ @@ -311,7 +311,7 @@ that was inserted will be removed. The removed item is deleted if \link - QPtrCollection::setAutoDelete() auto-deletion\endlink is enabled. + TQPtrCollection::setAutoDelete() auto-deletion\endlink is enabled. All dictionary iterators that refer to the removed item will be set to point to the next item in the dictionary's traversal order. @@ -323,7 +323,7 @@ \fn type *QDict::take( const TQString &key ) Takes the item with \a key out of the dictionary without deleting - it (even if \link QPtrCollection::setAutoDelete() + it (even if \link TQPtrCollection::setAutoDelete() auto-deletion\endlink is enabled). If there are two or more items with equal keys, then the last item @@ -344,7 +344,7 @@ Removes all items from the dictionary. The removed items are deleted if \link - QPtrCollection::setAutoDelete() auto-deletion\endlink is enabled. + TQPtrCollection::setAutoDelete() auto-deletion\endlink is enabled. All dictionary iterators that operate on the dictionary are reset. @@ -387,7 +387,7 @@ */ /*! - \fn QDataStream& QDict::read( QDataStream &s, QPtrCollection::Item &item ) + \fn QDataStream& QDict::read( QDataStream &s, TQPtrCollection::Item &item ) Reads a dictionary item from the stream \a s and returns a reference to the stream. @@ -398,7 +398,7 @@ */ /*! - \fn QDataStream& QDict::write( QDataStream &s, QPtrCollection::Item ) const + \fn QDataStream& QDict::write( QDataStream &s, TQPtrCollection::Item ) const Writes a dictionary item to the stream \a s and returns a reference to the stream. |