Diffstat (limited to 'core/pim/addressbook/contacteditor.h') (more/less context) (show whitespace changes)
-rw-r--r-- | core/pim/addressbook/contacteditor.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/pim/addressbook/contacteditor.h b/core/pim/addressbook/contacteditor.h index 1b86e6f..f3cbbd4 100644 --- a/core/pim/addressbook/contacteditor.h +++ b/core/pim/addressbook/contacteditor.h | |||
@@ -14,46 +14,45 @@ | |||
14 | * | 14 | * |
15 | * This is a rewrite of the abeditor.h file, modified to provide a more | 15 | * This is a rewrite of the abeditor.h file, modified to provide a more |
16 | * intuitive interface to TrollTech's original Address Book editor. This | 16 | * intuitive interface to TrollTech's original Address Book editor. This |
17 | * is made to operate exactly in interface with the exception of name. | 17 | * is made to operate exactly in interface with the exception of name. |
18 | * | 18 | * |
19 | */ | 19 | */ |
20 | 20 | ||
21 | #ifndef CONTACTEDITOR_H | 21 | #ifndef CONTACTEDITOR_H |
22 | #define CONTACTEDITOR_H | 22 | #define CONTACTEDITOR_H |
23 | 23 | ||
24 | #include <opie2/opimcontact.h> | 24 | #include <opie2/opimcontact.h> |
25 | #include <opie2/opimcontactfields.h> | 25 | #include <opie2/opimcontactfields.h> |
26 | #include <opie2/otabwidget.h> | ||
26 | 27 | ||
27 | #include <qpe/datebookmonth.h> | 28 | #include <qpe/datebookmonth.h> |
28 | 29 | ||
29 | #include <qdialog.h> | 30 | #include <qdialog.h> |
30 | #include <qlist.h> | 31 | #include <qlist.h> |
31 | #include <qmap.h> | 32 | #include <qmap.h> |
32 | #include <qstringlist.h> | 33 | #include <qstringlist.h> |
33 | #include <qwidgetstack.h> | 34 | #include <qwidgetstack.h> |
34 | 35 | ||
35 | const int NAME_LF = 0; | 36 | const int NAME_LF = 0; |
36 | const int NAME_LFM = 1; | 37 | const int NAME_LFM = 1; |
37 | const int NAME_FL = 2; | 38 | const int NAME_FL = 2; |
38 | const int NAME_FML = 3; | 39 | const int NAME_FML = 3; |
39 | 40 | ||
40 | const int NAME_F = 4; | 41 | const int NAME_F = 4; |
41 | const int NAME_M = 5; | 42 | const int NAME_M = 5; |
42 | const int NAME_L = 6; | 43 | const int NAME_L = 6; |
43 | const int NAME_S = 7; | 44 | const int NAME_S = 7; |
44 | 45 | ||
45 | |||
46 | class QScrollView; | 46 | class QScrollView; |
47 | class QTabWidget; | ||
48 | class QMultiLineEdit; | 47 | class QMultiLineEdit; |
49 | class QLineEdit; | 48 | class QLineEdit; |
50 | class QComboBox; | 49 | class QComboBox; |
51 | class QPushButton; | 50 | class QPushButton; |
52 | class CategorySelect; | 51 | class CategorySelect; |
53 | class QLabel; | 52 | class QLabel; |
54 | 53 | ||
55 | class ContactEditor : public QDialog { | 54 | class ContactEditor : public QDialog { |
56 | Q_OBJECT | 55 | Q_OBJECT |
57 | 56 | ||
58 | public: | 57 | public: |
59 | ContactEditor(const Opie::OPimContact &entry, | 58 | ContactEditor(const Opie::OPimContact &entry, |
@@ -135,25 +134,26 @@ class ContactEditor : public QDialog { | |||
135 | QStringList emails; | 134 | QStringList emails; |
136 | QString defaultEmail; | 135 | QString defaultEmail; |
137 | 136 | ||
138 | QMultiLineEdit *txtNote; | 137 | QMultiLineEdit *txtNote; |
139 | QLabel *lblNote; | 138 | QLabel *lblNote; |
140 | 139 | ||
141 | //QLineEdit *txtTitle; | 140 | //QLineEdit *txtTitle; |
142 | QLineEdit *txtFirstName; | 141 | QLineEdit *txtFirstName; |
143 | QLineEdit *txtMiddleName; | 142 | QLineEdit *txtMiddleName; |
144 | QLineEdit *txtLastName; | 143 | QLineEdit *txtLastName; |
145 | QLineEdit *txtSuffix; | 144 | QLineEdit *txtSuffix; |
146 | 145 | ||
147 | QTabWidget *tabMain; | 146 | Opie::Ui::OTabWidget *tabMain; |
147 | QWidget *m_generalWidget; | ||
148 | QScrollView *svGeneral; | 148 | QScrollView *svGeneral; |
149 | QPushButton *btnFullName; | 149 | QPushButton *btnFullName; |
150 | QPushButton *btnNote; | 150 | QPushButton *btnNote; |
151 | QLineEdit *txtFullName; | 151 | QLineEdit *txtFullName; |
152 | QLineEdit *txtJobTitle; | 152 | QLineEdit *txtJobTitle; |
153 | QLineEdit *txtOrganization; | 153 | QLineEdit *txtOrganization; |
154 | QLineEdit *txtChooserField1; | 154 | QLineEdit *txtChooserField1; |
155 | QLineEdit *txtChooserField2; | 155 | QLineEdit *txtChooserField2; |
156 | QLineEdit *txtChooserField3; | 156 | QLineEdit *txtChooserField3; |
157 | QLineEdit *txtChooserField4; | 157 | QLineEdit *txtChooserField4; |
158 | QWidgetStack* m_widgetStack1; | 158 | QWidgetStack* m_widgetStack1; |
159 | QWidgetStack* m_widgetStack2; | 159 | QWidgetStack* m_widgetStack2; |