GUISimpleListHelper< TLIST > Class Template Reference

#include <gui_list_helper.h>

Collaboration diagram for GUISimpleListHelper< TLIST >:

Collaboration graph
[legend]
List of all members.

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

Detailed Description

template<class TLIST>
class GUISimpleListHelper< TLIST >

Definition at line 25 of file gui_list_helper.h.


Constructor & Destructor Documentation

template<class TLIST>
GUISimpleListHelper< TLIST >::GUISimpleListHelper ( TLIST *  list  )  [inline]

Definition at line 28 of file gui_list_helper.h.

template<class TLIST>
GUISimpleListHelper< TLIST >::~GUISimpleListHelper (  )  [inline]

Definition at line 29 of file gui_list_helper.h.


Member Function Documentation

template<class TLIST>
bool GUISimpleListHelper< TLIST >::contains ( const QString &  id  )  const [inline]

Definition at line 36 of file gui_list_helper.h.

References GUISimpleListHelper< TLIST >::m_revData.

template<class TLIST>
int GUISimpleListHelper< TLIST >::count (  )  const [inline]

Definition at line 35 of file gui_list_helper.h.

References GUISimpleListHelper< TLIST >::m_revData.

template<class TLIST>
QString GUISimpleListHelper< TLIST >::getCurrentText (  )  const [inline]

Definition at line 32 of file gui_list_helper.h.

References GUISimpleListHelper< TLIST >::m_List.

template<class TLIST>
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.

template<class TLIST>
void GUISimpleListHelper< TLIST >::setData ( const QValueList< QString > &  data  ) 

Definition at line 45 of file gui_list_helper.h.

References GUISimpleListHelper< TLIST >::m_List, and GUISimpleListHelper< TLIST >::m_revData.


Member Data Documentation

template<class TLIST>
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().

template<class TLIST>
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().


The documentation for this class was generated from the following file:
Generated on Fri Jan 28 16:42:28 2011 for kradio by  doxygen 1.4.7