Diffstat (limited to 'core/pim/addressbook/contacteditor.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/addressbook/contacteditor.h | 4 |
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 | |||
@@ -79,94 +79,96 @@ class ContactEditor : public QDialog { | |||
79 | void updateDatePicker(); | 79 | void updateDatePicker(); |
80 | QString parseName( QString fullName, int type ); | 80 | QString parseName( QString fullName, int type ); |
81 | private slots: | 81 | private slots: |
82 | void slotChooser1Change( const QString &textChanged ); | 82 | void slotChooser1Change( const QString &textChanged ); |
83 | void slotChooser2Change( const QString &textChanged ); | 83 | void slotChooser2Change( const QString &textChanged ); |
84 | void slotChooser3Change( const QString &textChanged ); | 84 | void slotChooser3Change( const QString &textChanged ); |
85 | void slotChooser4Change( const QString &textChanged ); | 85 | void slotChooser4Change( const QString &textChanged ); |
86 | void slotCmbChooser1Change( int index ); | 86 | void slotCmbChooser1Change( int index ); |
87 | void slotCmbChooser2Change( int index ); | 87 | void slotCmbChooser2Change( int index ); |
88 | void slotCmbChooser3Change( int index ); | 88 | void slotCmbChooser3Change( int index ); |
89 | void slotCmbChooser4Change( int index ); | 89 | void slotCmbChooser4Change( int index ); |
90 | void slotAddressTypeChange( int index ); | 90 | void slotAddressTypeChange( int index ); |
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 | ||
119 | bool m_personalView; | 120 | bool m_personalView; |
120 | 121 | ||
121 | QStringList slHomeAddress; | 122 | QStringList slHomeAddress; |
122 | QStringList slBusinessAddress; | 123 | QStringList slBusinessAddress; |
123 | QStringList slChooserNames; | 124 | QStringList slChooserNames; |
124 | QStringList slChooserValues; | 125 | QStringList slChooserValues; |
125 | 126 | ||
126 | QMultiLineEdit *txtNote; | 127 | QMultiLineEdit *txtNote; |
127 | QLabel *lblNote; | 128 | QLabel *lblNote; |
128 | 129 | ||
129 | //QLineEdit *txtTitle; | 130 | //QLineEdit *txtTitle; |
130 | QLineEdit *txtFirstName; | 131 | QLineEdit *txtFirstName; |
131 | QLineEdit *txtMiddleName; | 132 | QLineEdit *txtMiddleName; |
132 | QLineEdit *txtLastName; | 133 | QLineEdit *txtLastName; |
133 | QLineEdit *txtSuffix; | 134 | QLineEdit *txtSuffix; |
134 | 135 | ||
135 | QTabWidget *tabMain; | 136 | QTabWidget *tabMain; |
136 | QScrollView *svGeneral; | 137 | QScrollView *svGeneral; |
137 | QPushButton *btnFullName; | 138 | QPushButton *btnFullName; |
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; |
162 | QComboBox *cmbCountry; | 164 | QComboBox *cmbCountry; |
163 | 165 | ||
164 | QScrollView *svDetails; | 166 | QScrollView *svDetails; |
165 | QComboBox *cmbGender; | 167 | QComboBox *cmbGender; |
166 | DateBookMonth* birthdayPicker; | 168 | DateBookMonth* birthdayPicker; |
167 | QToolButton* birthdayButton; | 169 | QToolButton* birthdayButton; |
168 | DateBookMonth* anniversaryPicker; | 170 | DateBookMonth* anniversaryPicker; |
169 | QToolButton* anniversaryButton; | 171 | QToolButton* anniversaryButton; |
170 | }; | 172 | }; |
171 | 173 | ||
172 | #endif | 174 | #endif |