author | eilers <eilers> | 2002-10-08 12:33:52 (UTC) |
---|---|---|
committer | eilers <eilers> | 2002-10-08 12:33:52 (UTC) |
commit | a194611bf645fe7e2e9e83733ababc587fd42f1d (patch) (unidiff) | |
tree | 2c21a5576bce48dba2fe83f6c849c0d16025a848 /core/pim/addressbook/abeditor.h | |
parent | 333fec32d47ea32de9fb4c8cd378a519785a1ff8 (diff) | |
download | opie-a194611bf645fe7e2e9e83733ababc587fd42f1d.zip opie-a194611bf645fe7e2e9e83733ababc587fd42f1d.tar.gz opie-a194611bf645fe7e2e9e83733ababc587fd42f1d.tar.bz2 |
Joined development branch: It uses the new PIM API
Some features in "View" added by Darwin Zins, but they are
not finished..
Diffstat (limited to 'core/pim/addressbook/abeditor.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/addressbook/abeditor.h | 8 |
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 | |||
@@ -29,50 +29,50 @@ | |||
29 | 29 | ||
30 | class QScrollView; | 30 | class QScrollView; |
31 | class QMultiLineEdit; | 31 | class QMultiLineEdit; |
32 | class QLineEdit; | 32 | class QLineEdit; |
33 | class QLabel; | 33 | class QLabel; |
34 | class QComboBox; | 34 | class QComboBox; |
35 | class CategorySelect; | 35 | class CategorySelect; |
36 | 36 | ||
37 | class AbEditor : public QDialog | 37 | class AbEditor : public QDialog |
38 | { | 38 | { |
39 | Q_OBJECT | 39 | Q_OBJECT |
40 | public: | 40 | public: |
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 | ||
49 | public slots: | 49 | public slots: |
50 | void slotNote(); | 50 | void slotNote(); |
51 | void setEntry( const Contact &entry ); | 51 | void setEntry( const OContact &entry ); |
52 | 52 | ||
53 | protected slots: | 53 | protected slots: |
54 | void accept(); | 54 | void accept(); |
55 | 55 | ||
56 | private: | 56 | private: |
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 | ||
62 | private: | 62 | private: |
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 | ||