Eneboo - Documentación para desarrolladores
Métodos públicos | Amigas
Referencia de la Clase QCList
Diagrama de herencias de QCList
QPtrList< QCacheItem >

Lista de todos los miembros.

Métodos públicos

 QCList ()
 ~QCList ()
void insert (QCacheItem *)
void insert (int, QCacheItem *)
void take (QCacheItem *)
void reference (QCacheItem *)
void setAutoDelete (bool del)
bool removeFirst ()
bool removeLast ()
QCacheItemfirst ()
QCacheItemlast ()
QCacheItemprev ()
QCacheItemnext ()

Amigas

class QGCacheIterator
class QCListIt

Documentación del constructor y destructor

QCList::QCList ( ) [inline]
QCList::~QCList ( )

Documentación de las funciones miembro

QCacheItem* QCList::first ( ) [inline]

Returns the first list item. Sets this to current.

Reimplementado de QPtrList< QCacheItem >.

void QCList::insert ( QCacheItem ci)
void QCList::insert ( int  i,
QCacheItem ci 
) [inline]
QCacheItem* QCList::last ( ) [inline]

Returns the last list item. Sets this to current.

Reimplementado de QPtrList< QCacheItem >.

QCacheItem* QCList::next ( ) [inline]

Returns the next list item (after current). Sets this to current.

Reimplementado de QPtrList< QCacheItem >.

QCacheItem* QCList::prev ( ) [inline]

Returns the previous list item (before current). Sets this to current.

Reimplementado de QPtrList< QCacheItem >.

void QCList::reference ( QCacheItem ci) [inline]
bool QCList::removeFirst ( ) [inline]

Removes the first item in the list.

Reimplementado de QPtrList< QCacheItem >.

bool QCList::removeLast ( ) [inline]

Removes the last item in the list.

Reimplementado de QPtrList< QCacheItem >.

void QCList::setAutoDelete ( bool  enable) [inline]

Sets the collection to auto-delete its contents if enable is TRUE and to never delete them if enable is FALSE.

If auto-deleting is turned on, all the items in a collection are deleted when the collection itself is deleted. This is convenient if the collection has the only pointer to the items.

The default setting is FALSE, for safety. If you turn it on, be careful about copying the collection - you might find yourself with two collections deleting the same items.

Note that the auto-delete setting may also affect other functions in subclasses. For example, a subclass that has a remove() function will remove the item from its data structure, and if auto-delete is enabled, will also delete the item.

Ver también:
autoDelete()

Reimplementado de QPtrCollection.

void QCList::take ( QCacheItem ci)

Documentación de las funciones relacionadas y clases amigas

friend class QCListIt [friend]
friend class QGCacheIterator [friend]

La documentación para esta clase fue generada a partir del siguiente fichero:
 Todo Clases Namespaces Archivos Funciones Variables 'typedefs' Enumeraciones Valores de enumeraciones Propiedades Amigas 'defines'