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.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/core/pim/addressbook/contacteditor.h b/core/pim/addressbook/contacteditor.h
index 72d14a9..1b86e6f 100644
--- a/core/pim/addressbook/contacteditor.h
+++ b/core/pim/addressbook/contacteditor.h
@@ -18,14 +18,14 @@
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 <opie/ocontact.h> 24#include <opie2/opimcontact.h>
25#include <opie/ocontactfields.h> 25#include <opie2/opimcontactfields.h>
26 26
27#include <qpe/datebookmonth.h> 27#include <qpe/datebookmonth.h>
28 28
29#include <qdialog.h> 29#include <qdialog.h>
30#include <qlist.h> 30#include <qlist.h>
31#include <qmap.h> 31#include <qmap.h>
@@ -53,25 +53,25 @@ class CategorySelect;
53class QLabel; 53class QLabel;
54 54
55class ContactEditor : public QDialog { 55class ContactEditor : public QDialog {
56 Q_OBJECT 56 Q_OBJECT
57 57
58 public: 58 public:
59 ContactEditor(const OContact &entry, 59 ContactEditor(const Opie::OPimContact &entry,
60 QWidget *parent = 0, 60 QWidget *parent = 0,
61 const char *name = 0, 61 const char *name = 0,
62 WFlags fl = 0 ); 62 WFlags fl = 0 );
63 ~ContactEditor(); 63 ~ContactEditor();
64 void setNameFocus(); 64 void setNameFocus();
65 void setPersonalView( bool personal = true ); 65 void setPersonalView( bool personal = true );
66 OContact entry() const { return ent; } 66 Opie::OPimContact entry() const { return ent; }
67 67
68 public slots: 68 public slots:
69 void slotNote(); 69 void slotNote();
70 void slotName(); 70 void slotName();
71 void setEntry(const OContact &entry); 71 void setEntry(const Opie::OPimContact &entry);
72 72
73 protected slots: 73 protected slots:
74 void accept(); 74 void accept();
75 75
76 private: 76 private:
77 void init(); 77 void init();
@@ -110,15 +110,15 @@ class ContactEditor : public QDialog {
110 private: 110 private:
111 enum StackWidgets { TextField = 1, Combo }; 111 enum StackWidgets { TextField = 1, Combo };
112 int defaultEmailChooserPosition; 112 int defaultEmailChooserPosition;
113 void populateDefaultEmailCmb(); 113 void populateDefaultEmailCmb();
114 void chooserChange( const QString&, int , QLineEdit*, int ); 114 void chooserChange( const QString&, int , QLineEdit*, int );
115 bool cmbChooserChange( int , QWidgetStack*, int ); 115 bool cmbChooserChange( int , QWidgetStack*, int );
116 OContactFields contactfields; 116 Opie::OPimContactFields contactfields;
117 117
118 OContact ent; 118 Opie::OPimContact ent;
119 119
120 QDialog *dlgNote; 120 QDialog *dlgNote;
121 QDialog *dlgName; 121 QDialog *dlgName;
122 122
123 QList<QLineEdit> listValue; 123 QList<QLineEdit> listValue;
124 QList<QLabel> listName; 124 QList<QLabel> listName;