diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-05-23 14:04:45 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-05-27 16:08:54 +0900 |
commit | 04913ce7a46fd027856e83a96205fdc388742a19 (patch) | |
tree | a04a117317c14854a6b91072658ba0eb3ad8b3fc /doc/tqobjectlist.doc | |
parent | c11c0f228b65f7471a26513ef8dbde413e75f8fa (diff) | |
download | tqt3-04913ce7a46fd027856e83a96205fdc388742a19.tar.gz tqt3-04913ce7a46fd027856e83a96205fdc388742a19.zip |
Rename ntqobject*.h and qobject*.cpp to tqobject*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/tqobjectlist.doc')
-rw-r--r-- | doc/tqobjectlist.doc | 88 |
1 files changed, 88 insertions, 0 deletions
diff --git a/doc/tqobjectlist.doc b/doc/tqobjectlist.doc new file mode 100644 index 00000000..14d687fe --- /dev/null +++ b/doc/tqobjectlist.doc @@ -0,0 +1,88 @@ +/*! + \class TQObjectList tqobjectlist.h + \brief The TQObjectList class is a TQPtrList of TQObjects. + + \ingroup collection + \ingroup tools + + A TQObjectList is a \link ntqptrlist.html + TQPtrList\<TQObject\>\endlink. The list can be traversed using + inherited functions, e.g. getFirst(), next(), etc., or using a + TQObjectListIterator iterator. + + See \l TQObject::queryList() for an example of use. + + \sa TQObjectListIterator TQObject +*/ + +/*! + \fn TQObjectList::TQObjectList() + + Constructs an empty TQObject list. +*/ + +/*! + \fn TQObjectList::TQObjectList( const TQObjectList &list ) + + Constructs a copy of \a list. + + Each item in \a list is \link append() appended\endlink to this + list. Only the pointers are copied (shallow copy). +*/ + +/*! + \fn TQObjectList::~TQObjectList() + + Removes all the object pointers from the list and destroys the + list. + + All list iterators that access this list will be reset. + + \sa setAutoDelete() +*/ + +/*! + \fn TQObjectList &TQObjectList::operator=(const TQObjectList &list) + + Assigns \a list to this list and returns a reference to this list. + + This list is first cleared and then each item in \a list is \link + append() appended\endlink to this list. Only the pointers are + copied (shallow copy) unless newItem() has been reimplemented(). +*/ + + +/*! + \class TQObjectListIterator tqobjectlist.h + \brief The TQObjectListIterator class provides an iterator for + TQObjectLists. + + \ingroup collection + \ingroup tools + + A TQObjectListIterator iterator is a \link qptrlistiterator.html + TQPtrListIterator\<TQObject\>\endlink. + + See \l TQObject::queryList() for an example of use. + + \sa TQObjectList +*/ + +/*! + \fn TQObjectListIterator::TQObjectListIterator( const TQObjectList &list ) + + Constructs an iterator for \a list. The current iterator item is + set to point on the first item in the \a list. +*/ + +/*! + \fn TQObjectListIterator& TQObjectListIterator::operator=( const TQObjectListIterator &it ) + + Assignment. Makes a copy of the iterator \a it and returns a + reference to this iterator. +*/ + + + + + |