#include <gui_list_helper.h>
Public Member Functions | |
GUISimpleListHelper (TLIST *list) | |
~GUISimpleListHelper () | |
void | setList (TLIST *list) |
void | setData (const QList< QString > &data) |
QString | getCurrentText () const |
void | setCurrentText (const QString &s) |
int | count () const |
bool | contains (const QString &id) const |
Protected Attributes | |
TLIST * | m_List |
QMap< QString, int > | m_revData |
Definition at line 25 of file gui_list_helper.h.
GUISimpleListHelper< TLIST >::GUISimpleListHelper | ( | TLIST * | list | ) | [inline] |
Definition at line 28 of file gui_list_helper.h.
GUISimpleListHelper< TLIST >::~GUISimpleListHelper | ( | ) | [inline] |
Definition at line 29 of file gui_list_helper.h.
bool GUISimpleListHelper< TLIST >::contains | ( | const QString & | id | ) | const [inline] |
Definition at line 38 of file gui_list_helper.h.
int GUISimpleListHelper< TLIST >::count | ( | ) | const [inline] |
Definition at line 37 of file gui_list_helper.h.
QString GUISimpleListHelper< TLIST >::getCurrentText | ( | ) | const [inline] |
Definition at line 34 of file gui_list_helper.h.
void GUISimpleListHelper< TLIST >::setCurrentText | ( | const QString & | s | ) | [inline] |
Definition at line 35 of file gui_list_helper.h.
void GUISimpleListHelper< TLIST >::setData | ( | const QList< QString > & | data | ) | [inline] |
Definition at line 52 of file gui_list_helper.h.
References GUISimpleListHelper< TLIST >::m_List, and GUISimpleListHelper< TLIST >::m_revData.
void GUISimpleListHelper< TLIST >::setList | ( | TLIST * | list | ) | [inline] |
TLIST* GUISimpleListHelper< TLIST >::m_List [protected] |
Definition at line 41 of file gui_list_helper.h.
Referenced by GUISimpleListHelper< TLIST >::setData(), and GUISimpleListHelper< TLIST >::setList().
QMap<QString, int> GUISimpleListHelper< TLIST >::m_revData [protected] |
Definition at line 42 of file gui_list_helper.h.
Referenced by GUISimpleListHelper< TLIST >::setData().