Definition of a list of pointers which deletes the pointed items on destruction. More...
Public Member Functions | |
QtlPointerList () | |
Default constructor. More... | |
QtlPointerList (const QList< T *> &other) | |
Copy constructor. More... | |
virtual | ~QtlPointerList () |
Destructor. More... | |
void | clear () |
Remove all items from the list. More... | |
Private Types | |
typedef QList< T * > | SuperClass |
A name for the superclass. More... | |
Definition of a list of pointers which deletes the pointed items on destruction.
|
private |
A name for the superclass.
|
inlineexplicit |
Default constructor.
|
inline |
Copy constructor.
[in] | other | Other instance to copy. |
|
inlinevirtual |
Destructor.
All pointed items are deleted.
|
inline |
Remove all items from the list.
All pointed items are deleted.