summaryrefslogtreecommitdiff
path: root/core/pim/addressbook/abeditor.h
Unidiff
Diffstat (limited to 'core/pim/addressbook/abeditor.h') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/addressbook/abeditor.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/pim/addressbook/abeditor.h b/core/pim/addressbook/abeditor.h
index 9ce6704..a9c1c5f 100644
--- a/core/pim/addressbook/abeditor.h
+++ b/core/pim/addressbook/abeditor.h
@@ -17,63 +17,63 @@
17** not clear to you. 17** not clear to you.
18** 18**
19**********************************************************************/ 19**********************************************************************/
20#ifndef ABEDITOR_H 20#ifndef ABEDITOR_H
21#define ABEDITOR_H 21#define ABEDITOR_H
22 22
23#include <qpe/contact.h> 23#include <qpe/contact.h>
24 24
25#include <qdialog.h> 25#include <qdialog.h>
26#include <qlist.h> 26#include <qlist.h>
27#include <qmap.h> 27#include <qmap.h>
28#include <qstringlist.h> 28#include <qstringlist.h>
29 29
30class QScrollView; 30class QScrollView;
31class QMultiLineEdit; 31class QMultiLineEdit;
32class QLineEdit; 32class QLineEdit;
33class QLabel; 33class QLabel;
34class QComboBox; 34class QComboBox;
35class CategorySelect; 35class CategorySelect;
36 36
37class AbEditor : public QDialog 37class AbEditor : public QDialog
38{ 38{
39 Q_OBJECT 39 Q_OBJECT
40public: 40public:
41 AbEditor( const Contact &entry, const QValueList<int> *newOrdedValues, 41 AbEditor( const OContact &entry, const QValueList<int> *newOrdedValues,
42 QStringList *slNewOrdered, 42 QStringList *slNewOrdered,
43 QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); 43 QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
44 ~AbEditor(); 44 ~AbEditor();
45 void loadFields(); 45 void loadFields();
46 void setNameFocus(); 46 void setNameFocus();
47 Contact entry() const { return ent; } 47 OContact entry() const { return ent; }
48 48
49public slots: 49public slots:
50 void slotNote(); 50 void slotNote();
51 void setEntry( const Contact &entry ); 51 void setEntry( const OContact &entry );
52 52
53protected slots: 53protected slots:
54 void accept(); 54 void accept();
55 55
56private: 56private:
57 void init(); 57 void init();
58 void initMap(); 58 void initMap();
59 void saveEntry(); 59 void saveEntry();
60 bool isEmpty(); 60 bool isEmpty();
61 61
62private: 62private:
63 QDialog *dlgNote; 63 QDialog *dlgNote;
64 QLabel *lblNote; 64 QLabel *lblNote;
65 QMultiLineEdit *txtNote; 65 QMultiLineEdit *txtNote;
66 Contact ent; 66 OContact ent;
67 QScrollView *svPage; 67 QScrollView *svPage;
68 QLineEdit *firstEdit; 68 QLineEdit *firstEdit;
69 QLineEdit *lastEdit; 69 QLineEdit *lastEdit;
70 QLineEdit *middleEdit; 70 QLineEdit *middleEdit;
71 QComboBox *genderCombo; 71 QComboBox *genderCombo;
72 QList<QLineEdit> listValue; 72 QList<QLineEdit> listValue;
73 QList<QLabel> listName; 73 QList<QLabel> listName;
74 const QValueList<int> *orderedValues; 74 const QValueList<int> *orderedValues;
75 QStringList *slOrdered; 75 QStringList *slOrdered;
76 CategorySelect *cmbCat; 76 CategorySelect *cmbCat;
77}; 77};
78 78
79#endif 79#endif