Public Member Functions | List of all members
GroupList Class Reference

#include <groupdef.h>

Inheritance diagram for GroupList:
QList< GroupDef > QGList

Public Member Functions

int compareValues (const GroupDef *item1, const GroupDef *item2) const
 
- Public Member Functions inherited from QList< GroupDef >
 QList ()
 
 QList (const QList< GroupDef > &l)
 
 ~QList ()
 
QList< GroupDef > & operator= (const QList< GroupDef > &l)
 
bool operator== (const QList< GroupDef > &list) const
 
uint count () const
 
bool isEmpty () const
 
bool insert (uint i, const GroupDef *d)
 
void inSort (const GroupDef *d)
 
void prepend (const GroupDef *d)
 
void append (const GroupDef *d)
 
bool remove (uint i)
 
bool remove (const GroupDef *d)
 
bool removeRef (const GroupDef *d)
 
bool removeFirst ()
 
bool removeLast ()
 
GroupDeftake (uint i)
 
void clear ()
 
void sort ()
 
int find (const GroupDef *d) const
 
int findRef (const GroupDef *d) const
 
uint contains (const GroupDef *d) const
 
uint containsRef (const GroupDef *d) const
 
GroupDefat (uint i) const
 
GroupDefgetFirst () const
 
GroupDefgetLast () const
 
void setAutoDelete (bool enable)
 

Detailed Description

A list of GroupDef objects.

Definition at line 175 of file groupdef.h.

Member Function Documentation

int GroupList::compareValues ( const GroupDef item1,
const GroupDef item2 
) const
inlinevirtual

Reimplemented from QList< GroupDef >.

Definition at line 178 of file groupdef.h.

179  {
180  return qstrcmp(item1->groupTitle(),item2->groupTitle());
181  }
const char * groupTitle() const
Definition: groupdef.h:54
Q_EXPORT int qstrcmp(const char *str1, const char *str2)
Definition: qcstring.h:95

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