24 #ifndef ADDRESSEDITWIDGET_H
25 #define ADDRESSEDITWIDGET_H
29 #include <kdialogbase.h>
30 #include <tdeabc/address.h>
31 #include <tdeabc/addressee.h>
33 #include "addresseeconfig.h"
34 #include "typecombo.h"
61 TDEABC::Address::List addresses();
62 void setAddresses(
const TDEABC::Addressee &addr,
63 const TDEABC::Address::List &list );
64 void updateAddressee(
const TDEABC::Addressee &addr );
66 void updateTypeCombo(
const TDEABC::Address::List&, KComboBox* );
67 TDEABC::Address currentAddress( KComboBox*,
int );
69 void setReadOnly(
bool readOnly );
75 void updateAddressEdit();
82 TQPushButton *mEditButton;
83 KActiveLabel *mAddressField;
85 TDEABC::Address::List mAddressList;
86 TDEABC::Addressee mAddressee;
100 TQWidget *parent,
const char *name = 0 );
103 TDEABC::Address::List addresses();
104 bool changed()
const;
108 void removeAddress();
112 void updateAddressEdits();
116 void saveAddress( TDEABC::Address &addr );
117 void fillCountryCombo();
118 TQStringList sortLocaleAware(
const TQStringList& );
121 TQTextEdit *mStreetTextEdit;
122 KComboBox *mCountryCombo;
123 KLineEdit *mRegionEdit;
124 KLineEdit *mLocalityEdit;
125 KLineEdit *mPostalCodeEdit;
126 KLineEdit *mPOBoxEdit;
127 TQCheckBox *mPreferredCheckBox;
129 TQPushButton *mRemoveButton;
130 TQPushButton *mChangeTypeButton;
132 TDEABC::Address::List mAddressList;
133 TDEABC::Address *mPreviousAddress;
151 TQButtonGroup *mGroup;
153 TDEABC::Address::TypeList mTypeList;
Dialog for editing address details.
Dialog for selecting an address type.
Combo box for type information of Addresses and Phone numbers.