libkcal

KCal::ListBase< T > Class Template Reference

#include <listbase.h>

Inherits TQValueList< T * >.

Public Member Functions

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

Detailed Description

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

This class provides a template for lists of pointers.

It extends TQValueList<T *> by auto delete funtionality known from TQPtrList.

Definition at line 33 of file listbase.h.

Constructor & Destructor Documentation

◆ ListBase() [1/2]

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

Definition at line 36 of file listbase.h.

◆ ListBase() [2/2]

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

Definition at line 41 of file listbase.h.

◆ ~ListBase()

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

Definition at line 46 of file listbase.h.

Member Function Documentation

◆ clearAll()

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

Definition at line 80 of file listbase.h.

◆ operator=()

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

Definition at line 56 of file listbase.h.

◆ removeRef()

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

Definition at line 68 of file listbase.h.

◆ setAutoDelete()

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: