summaryrefslogtreecommitdiff
path: root/core/pim/addressbook/contacteditor.h
Unidiff
Diffstat (limited to 'core/pim/addressbook/contacteditor.h') (more/less context) (show whitespace changes)
-rw-r--r--core/pim/addressbook/contacteditor.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/pim/addressbook/contacteditor.h b/core/pim/addressbook/contacteditor.h
index 250b831..d4b7f27 100644
--- a/core/pim/addressbook/contacteditor.h
+++ b/core/pim/addressbook/contacteditor.h
@@ -91,28 +91,29 @@ class ContactEditor : public QDialog {
91 void slotAddressChange( const QString &textChanged ); 91 void slotAddressChange( const QString &textChanged );
92 void slotAddress2Change( const QString &textChanged ); 92 void slotAddress2Change( const QString &textChanged );
93 void slotPOBoxChange( const QString &textChanged ); 93 void slotPOBoxChange( const QString &textChanged );
94 void slotCityChange( const QString &textChanged ); 94 void slotCityChange( const QString &textChanged );
95 void slotStateChange( const QString &textChanged ); 95 void slotStateChange( const QString &textChanged );
96 void slotZipChange( const QString &textChanged ); 96 void slotZipChange( const QString &textChanged );
97 void slotCountryChange( const QString &textChanged ); 97 void slotCountryChange( const QString &textChanged );
98 void slotFullNameChange( const QString &textChanged ); 98 void slotFullNameChange( const QString &textChanged );
99 void slotAnniversaryDateChanged( int year, int month, int day); 99 void slotAnniversaryDateChanged( int year, int month, int day);
100 void slotBirthdayDateChanged( int year, int month, int day); 100 void slotBirthdayDateChanged( int year, int month, int day);
101 void slotRemoveBirthday(); 101 void slotRemoveBirthday();
102 void slotRemoveAnniversary(); 102 void slotRemoveAnniversary();
103 void defaultEmailChanged(int);
103 104
104 private: 105 private:
106 void chooserChange( const QString&, int , QLineEdit* );
105 bool useFullName; 107 bool useFullName;
106 // bool hasGender, hasTitle, hasCompany, hasNotes, hasStreet, hasStreet2, hasPOBox, hasCity, hasState, hasZip, hasCountry;
107 108
108 OContact ent; 109 OContact ent;
109 110
110 QDialog *dlgNote; 111 QDialog *dlgNote;
111 QDialog *dlgName; 112 QDialog *dlgName;
112 113
113 QList<QLineEdit> listValue; 114 QList<QLineEdit> listValue;
114 QList<QLabel> listName; 115 QList<QLabel> listName;
115 116
116 QStringList slDynamicEntries; 117 QStringList slDynamicEntries;
117 QStringList trlDynamicEntries; 118 QStringList trlDynamicEntries;
118 119
@@ -138,24 +139,25 @@ class ContactEditor : public QDialog {
138 QPushButton *btnNote; 139 QPushButton *btnNote;
139 QLineEdit *txtFullName; 140 QLineEdit *txtFullName;
140 QLineEdit *txtJobTitle; 141 QLineEdit *txtJobTitle;
141 QLineEdit *txtOrganization; 142 QLineEdit *txtOrganization;
142 QLineEdit *txtChooserField1; 143 QLineEdit *txtChooserField1;
143 QLineEdit *txtChooserField2; 144 QLineEdit *txtChooserField2;
144 QLineEdit *txtChooserField3; 145 QLineEdit *txtChooserField3;
145 QLineEdit *txtChooserField4; 146 QLineEdit *txtChooserField4;
146 QComboBox *cmbChooserField1; 147 QComboBox *cmbChooserField1;
147 QComboBox *cmbChooserField2; 148 QComboBox *cmbChooserField2;
148 QComboBox *cmbChooserField3; 149 QComboBox *cmbChooserField3;
149 QComboBox *cmbChooserField4; 150 QComboBox *cmbChooserField4;
151 QComboBox *cmbDefaultEmail;
150 QComboBox *cmbFileAs; 152 QComboBox *cmbFileAs;
151 CategorySelect *cmbCat; 153 CategorySelect *cmbCat;
152 QLabel *labCat; 154 QLabel *labCat;
153 155
154 QScrollView *svAddress; 156 QScrollView *svAddress;
155 QLineEdit *txtAddress; 157 QLineEdit *txtAddress;
156 //QLineEdit *txtAddress2; 158 //QLineEdit *txtAddress2;
157 //QLineEdit *txtPOBox; 159 //QLineEdit *txtPOBox;
158 QLineEdit *txtCity; 160 QLineEdit *txtCity;
159 QLineEdit *txtState; 161 QLineEdit *txtState;
160 QLineEdit *txtZip; 162 QLineEdit *txtZip;
161 QComboBox *cmbAddress; 163 QComboBox *cmbAddress;