Diffstat (limited to 'core/pim/addressbook/contacteditor.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/addressbook/contacteditor.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/pim/addressbook/contacteditor.h b/core/pim/addressbook/contacteditor.h index 4fa48d1..95f9f2d 100644 --- a/core/pim/addressbook/contacteditor.h +++ b/core/pim/addressbook/contacteditor.h | |||
@@ -21,24 +21,26 @@ | |||
21 | #ifndef CONTACTEDITOR_H | 21 | #ifndef CONTACTEDITOR_H |
22 | #define CONTACTEDITOR_H | 22 | #define CONTACTEDITOR_H |
23 | 23 | ||
24 | #include <opie/ocontact.h> | 24 | #include <opie/ocontact.h> |
25 | 25 | ||
26 | #include <qpe/datebookmonth.h> | 26 | #include <qpe/datebookmonth.h> |
27 | 27 | ||
28 | #include <qdialog.h> | 28 | #include <qdialog.h> |
29 | #include <qlist.h> | 29 | #include <qlist.h> |
30 | #include <qmap.h> | 30 | #include <qmap.h> |
31 | #include <qstringlist.h> | 31 | #include <qstringlist.h> |
32 | 32 | ||
33 | #include "ocontactfields.h" | ||
34 | |||
33 | const int NAME_LF = 0; | 35 | const int NAME_LF = 0; |
34 | const int NAME_LFM = 1; | 36 | const int NAME_LFM = 1; |
35 | const int NAME_FL = 2; | 37 | const int NAME_FL = 2; |
36 | const int NAME_FMLS = 3; | 38 | const int NAME_FMLS = 3; |
37 | 39 | ||
38 | const int NAME_F = 4; | 40 | const int NAME_F = 4; |
39 | const int NAME_M = 5; | 41 | const int NAME_M = 5; |
40 | const int NAME_L = 6; | 42 | const int NAME_L = 6; |
41 | const int NAME_S = 7; | 43 | const int NAME_S = 7; |
42 | 44 | ||
43 | 45 | ||
44 | class QScrollView; | 46 | class QScrollView; |
@@ -99,24 +101,25 @@ class ContactEditor : public QDialog { | |||
99 | void slotFullNameChange( const QString &textChanged ); | 101 | void slotFullNameChange( const QString &textChanged ); |
100 | void slotAnniversaryDateChanged( int year, int month, int day); | 102 | void slotAnniversaryDateChanged( int year, int month, int day); |
101 | void slotBirthdayDateChanged( int year, int month, int day); | 103 | void slotBirthdayDateChanged( int year, int month, int day); |
102 | void slotRemoveBirthday(); | 104 | void slotRemoveBirthday(); |
103 | void slotRemoveAnniversary(); | 105 | void slotRemoveAnniversary(); |
104 | void defaultEmailChanged(int); | 106 | void defaultEmailChanged(int); |
105 | 107 | ||
106 | private: | 108 | private: |
107 | int defaultEmailChooserPosition; | 109 | int defaultEmailChooserPosition; |
108 | void populateDefaultEmailCmb(); | 110 | void populateDefaultEmailCmb(); |
109 | void chooserChange( const QString&, int , QLineEdit*, int ); | 111 | void chooserChange( const QString&, int , QLineEdit*, int ); |
110 | bool cmbChooserChange( int , QLineEdit*, int ); | 112 | bool cmbChooserChange( int , QLineEdit*, int ); |
113 | OContactFields contactfields; | ||
111 | 114 | ||
112 | bool useFullName; | 115 | bool useFullName; |
113 | 116 | ||
114 | OContact ent; | 117 | OContact ent; |
115 | 118 | ||
116 | QDialog *dlgNote; | 119 | QDialog *dlgNote; |
117 | QDialog *dlgName; | 120 | QDialog *dlgName; |
118 | 121 | ||
119 | QList<QLineEdit> listValue; | 122 | QList<QLineEdit> listValue; |
120 | QList<QLabel> listName; | 123 | QList<QLabel> listName; |
121 | 124 | ||
122 | QStringList slDynamicEntries; | 125 | QStringList slDynamicEntries; |
@@ -167,15 +170,17 @@ class ContactEditor : public QDialog { | |||
167 | QLineEdit *txtCity; | 170 | QLineEdit *txtCity; |
168 | QLineEdit *txtState; | 171 | QLineEdit *txtState; |
169 | QLineEdit *txtZip; | 172 | QLineEdit *txtZip; |
170 | QComboBox *cmbAddress; | 173 | QComboBox *cmbAddress; |
171 | QComboBox *cmbCountry; | 174 | QComboBox *cmbCountry; |
172 | 175 | ||
173 | QScrollView *svDetails; | 176 | QScrollView *svDetails; |
174 | QComboBox *cmbGender; | 177 | QComboBox *cmbGender; |
175 | DateBookMonth* birthdayPicker; | 178 | DateBookMonth* birthdayPicker; |
176 | QToolButton* birthdayButton; | 179 | QToolButton* birthdayButton; |
177 | DateBookMonth* anniversaryPicker; | 180 | DateBookMonth* anniversaryPicker; |
178 | QToolButton* anniversaryButton; | 181 | QToolButton* anniversaryButton; |
182 | |||
183 | bool initializing; | ||
179 | }; | 184 | }; |
180 | 185 | ||
181 | #endif | 186 | #endif |