summaryrefslogtreecommitdiffstats
path: root/doc/tqobjectlist.doc
blob: f83403fde0b4fa5ea5287b6a8a0cf07aacd5a121 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
/*!
    \class TQObjectList tqobjectlist.h
    \brief The TQObjectList class is a TQPtrList of TQObjects.

    \ingroup collection
    \ingroup tools

    A TQObjectList is a \link tqptrlist.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 tqptrlistiterator.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.
*/