kaddressbook

TypeCombo< T > Class Template Reference

#include <typecombo.h>

Public Types

typedef T::List List
typedef T::List::Iterator Iterator

Public Member Functions

 TypeCombo (List &list, TQWidget *parent, const char *name=0)
void setLineEdit (TQLineEdit *edit)
TQLineEdit * lineEdit () const
void updateTypes ()
void selectType (int type)
int selectedType ()
Iterator selectedElement ()
void insertType (const List &list, int type, const T &defaultObject)
void insertTypeList (const List &list)
bool hasType (int type)

Detailed Description

template<class T>
class TypeCombo< T >

Combo box for type information of Addresses and Phone numbers.

Definition at line 34 of file typecombo.h.

Member Typedef Documentation

◆ Iterator

template<class T>
typedef T::List::Iterator TypeCombo< T >::Iterator

Definition at line 38 of file typecombo.h.

◆ List

template<class T>
typedef T::List TypeCombo< T >::List

Definition at line 37 of file typecombo.h.

Constructor & Destructor Documentation

◆ TypeCombo()

template<class T>
TypeCombo< T >::TypeCombo ( TypeCombo< T >::List & list,
TQWidget * parent,
const char * name = 0 )

Definition at line 65 of file typecombo.h.

Member Function Documentation

◆ hasType()

template<class T>
bool TypeCombo< T >::hasType ( int type)

Definition at line 167 of file typecombo.h.

◆ insertType()

template<class T>
void TypeCombo< T >::insertType ( const List & list,
int type,
const T & defaultObject )

Definition at line 136 of file typecombo.h.

◆ insertTypeList()

template<class T>
void TypeCombo< T >::insertTypeList ( const List & list)

Definition at line 152 of file typecombo.h.

◆ lineEdit()

template<class T>
TQLineEdit * TypeCombo< T >::lineEdit ( ) const
inline

Definition at line 43 of file typecombo.h.

◆ selectedElement()

template<class T>
TypeCombo< T >::Iterator TypeCombo< T >::selectedElement ( )

Definition at line 130 of file typecombo.h.

◆ selectedType()

template<class T>
int TypeCombo< T >::selectedType ( )

Definition at line 124 of file typecombo.h.

◆ selectType()

template<class T>
void TypeCombo< T >::selectType ( int type)

Definition at line 112 of file typecombo.h.

◆ setLineEdit()

template<class T>
void TypeCombo< T >::setLineEdit ( TQLineEdit * edit)
inline

Definition at line 42 of file typecombo.h.

◆ updateTypes()

template<class T>
void TypeCombo< T >::updateTypes ( )

Definition at line 73 of file typecombo.h.


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