summaryrefslogtreecommitdiff
path: root/core/pim/addressbook/contacteditor.h
Unidiff
Diffstat (limited to 'core/pim/addressbook/contacteditor.h') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/addressbook/contacteditor.h6
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
35const int NAME_LF = 0; 36const int NAME_LF = 0;
36const int NAME_LFM = 1; 37const int NAME_LFM = 1;
37const int NAME_FL = 2; 38const int NAME_FL = 2;
38const int NAME_FML = 3; 39const int NAME_FML = 3;
39 40
40const int NAME_F = 4; 41const int NAME_F = 4;
41const int NAME_M = 5; 42const int NAME_M = 5;
42const int NAME_L = 6; 43const int NAME_L = 6;
43const int NAME_S = 7; 44const int NAME_S = 7;
44 45
45
46class QScrollView; 46class QScrollView;
47class QTabWidget;
48class QMultiLineEdit; 47class QMultiLineEdit;
49class QLineEdit; 48class QLineEdit;
50class QComboBox; 49class QComboBox;
51class QPushButton; 50class QPushButton;
52class CategorySelect; 51class CategorySelect;
53class QLabel; 52class QLabel;
54 53
55class ContactEditor : public QDialog { 54class 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;