#include <gui_list_helper.h>
Public Member Functions | |
GUISimpleListHelper (TLIST *list) | |
~GUISimpleListHelper () | |
void | setData (const QValueList< 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 36 of file gui_list_helper.h.
References GUISimpleListHelper< TLIST >::m_revData.
int GUISimpleListHelper< TLIST >::count | ( | ) | const [inline] |
Definition at line 35 of file gui_list_helper.h.
References GUISimpleListHelper< TLIST >::m_revData.
QString GUISimpleListHelper< TLIST >::getCurrentText | ( | ) | const [inline] |
Definition at line 32 of file gui_list_helper.h.
References GUISimpleListHelper< TLIST >::m_List.
void GUISimpleListHelper< TLIST >::setCurrentText | ( | const QString & | s | ) | [inline] |
Definition at line 33 of file gui_list_helper.h.
References GUISimpleListHelper< TLIST >::m_List, and GUISimpleListHelper< TLIST >::m_revData.
void GUISimpleListHelper< TLIST >::setData | ( | const QValueList< QString > & | data | ) | [inline] |
Definition at line 45 of file gui_list_helper.h.
References GUISimpleListHelper< TLIST >::m_List, and GUISimpleListHelper< TLIST >::m_revData.
TLIST* GUISimpleListHelper< TLIST >::m_List [protected] |
Definition at line 39 of file gui_list_helper.h.
Referenced by GUISimpleListHelper< TLIST >::getCurrentText(), GUISimpleListHelper< TLIST >::setCurrentText(), and GUISimpleListHelper< TLIST >::setData().
QMap<QString, int> GUISimpleListHelper< TLIST >::m_revData [protected] |
Definition at line 40 of file gui_list_helper.h.
Referenced by GUISimpleListHelper< TLIST >::contains(), GUISimpleListHelper< TLIST >::count(), GUISimpleListHelper< TLIST >::setCurrentText(), and GUISimpleListHelper< TLIST >::setData().