libkcal

KCal::ListBase< T > Class Template Reference

This class provides a template for lists of pointers. More...

#include <listbase.h>

Inheritance diagram for KCal::ListBase< T >:

List of all members.


Public Member Functions

void clearAll ()
 ListBase (const ListBase &l)
 ListBase ()
ListBaseoperator= (const ListBase &l)
bool removeRef (T *t)
void setAutoDelete (bool autoDelete)
 ~ListBase ()

Detailed Description

template<class T>
class KCal::ListBase< T >

This class provides a template for lists of pointers.

It extends QValueList<T *> by auto delete funtionality known from QPtrList.

Definition at line 33 of file listbase.h.


Constructor & Destructor Documentation

template<class T>
KCal::ListBase< T >::ListBase (  )  [inline]

Definition at line 36 of file listbase.h.

template<class T>
KCal::ListBase< T >::ListBase ( const ListBase< T > &  l  )  [inline]

Definition at line 41 of file listbase.h.

template<class T>
KCal::ListBase< T >::~ListBase (  )  [inline]

Definition at line 46 of file listbase.h.


Member Function Documentation

template<class T>
void KCal::ListBase< T >::clearAll (  )  [inline]

Definition at line 80 of file listbase.h.

template<class T>
ListBase& KCal::ListBase< T >::operator= ( const ListBase< T > &  l  )  [inline]

Definition at line 56 of file listbase.h.

template<class T>
bool KCal::ListBase< T >::removeRef ( T *  t  )  [inline]

Definition at line 68 of file listbase.h.

template<class T>
void KCal::ListBase< T >::setAutoDelete ( bool  autoDelete  )  [inline]

Definition at line 63 of file listbase.h.


The documentation for this class was generated from the following file: