kaddressbook
TypeCombo< T, U > Class Template Reference
#include <typecombo.h>
Inheritance diagram for TypeCombo< T, U >:

Detailed Description
template<class T, typename U>
class TypeCombo< T, U >
Combo box for type information of Addresses and Phone numbers.
Definition at line 34 of file typecombo.h.
Public Types | |
| typedef T::List::Iterator | Iterator |
| typedef T::List | List |
Public Member Functions | |
| bool | hasType (U type) |
| void | insertType (const List &list, U type, const T &defaultObject) |
| void | insertTypeList (const List &list) |
| bool | isEmpty () const |
| QLineEdit * | lineEdit () const |
| Iterator | selectedElement () |
| U | selectedType () |
| void | selectType (U type) |
| void | setLineEdit (QLineEdit *edit) |
| TypeCombo (List &list, QWidget *parent, const char *name=0) | |
| void | updateTypes () |
Member Typedef Documentation
Definition at line 38 of file typecombo.h.
Definition at line 37 of file typecombo.h.
Constructor & Destructor Documentation
template<class T, typename U>
| TypeCombo< T, U >::TypeCombo | ( | List & | list, | |
| QWidget * | parent, | |||
| const char * | name = 0 | |||
| ) | [inline] |
Definition at line 67 of file typecombo.h.
Member Function Documentation
template<class T, typename U>
| bool TypeCombo< T, U >::hasType | ( | U | type | ) | [inline] |
Definition at line 182 of file typecombo.h.
template<class T, typename U>
| void TypeCombo< T, U >::insertType | ( | const List & | list, | |
| U | type, | |||
| const T & | defaultObject | |||
| ) | [inline] |
Definition at line 151 of file typecombo.h.
Definition at line 167 of file typecombo.h.
template<class T, typename U>
| bool TypeCombo< T, U >::isEmpty | ( | ) | const [inline] |
Definition at line 76 of file typecombo.h.
Definition at line 43 of file typecombo.h.
template<class T, typename U>
| TypeCombo< T, U >::Iterator TypeCombo< T, U >::selectedElement | ( | ) | [inline] |
Definition at line 143 of file typecombo.h.
template<class T, typename U>
| U TypeCombo< T, U >::selectedType | ( | ) | [inline] |
Definition at line 137 of file typecombo.h.
template<class T, typename U>
| void TypeCombo< T, U >::selectType | ( | U | type | ) | [inline] |
Definition at line 125 of file typecombo.h.
Definition at line 42 of file typecombo.h.
template<class T, typename U>
| void TypeCombo< T, U >::updateTypes | ( | ) | [inline] |
Definition at line 82 of file typecombo.h.
The documentation for this class was generated from the following file:
KDE 4.2 API Reference