Diffstat (limited to 'core/pim/addressbook/contacteditor.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/addressbook/contacteditor.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/core/pim/addressbook/contacteditor.h b/core/pim/addressbook/contacteditor.h index 40ce864..250b831 100644 --- a/core/pim/addressbook/contacteditor.h +++ b/core/pim/addressbook/contacteditor.h | |||
@@ -54,15 +54,12 @@ class ContactEditor : public QDialog { | |||
54 | Q_OBJECT | 54 | Q_OBJECT |
55 | 55 | ||
56 | public: | 56 | public: |
57 | ContactEditor(const OContact &entry, | 57 | ContactEditor(const OContact &entry, |
58 | const QValueList<int> *newOrderedValues, | ||
59 | QStringList *slNewOrdered, | ||
60 | QWidget *parent = 0, | 58 | QWidget *parent = 0, |
61 | const char *name = 0, | 59 | const char *name = 0, |
62 | WFlags fl = 0 ); | 60 | WFlags fl = 0 ); |
63 | ~ContactEditor(); | 61 | ~ContactEditor(); |
64 | void loadFields(); | ||
65 | void setNameFocus(); | 62 | void setNameFocus(); |
66 | void setPersonalView( bool personal = true ); | 63 | void setPersonalView( bool personal = true ); |
67 | OContact entry() const { return ent; } | 64 | OContact entry() const { return ent; } |
68 | 65 | ||
@@ -75,12 +72,12 @@ class ContactEditor : public QDialog { | |||
75 | void accept(); | 72 | void accept(); |
76 | 73 | ||
77 | private: | 74 | private: |
78 | void init(); | 75 | void init(); |
79 | void initMap(); | ||
80 | void saveEntry(); | 76 | void saveEntry(); |
81 | bool isEmpty(); | 77 | bool isEmpty(); |
82 | void cleanupFields(); | 78 | void cleanupFields(); |
79 | void updateDatePicker(); | ||
83 | QString parseName( QString fullName, int type ); | 80 | QString parseName( QString fullName, int type ); |
84 | private slots: | 81 | private slots: |
85 | void slotChooser1Change( const QString &textChanged ); | 82 | void slotChooser1Change( const QString &textChanged ); |
86 | void slotChooser2Change( const QString &textChanged ); | 83 | void slotChooser2Change( const QString &textChanged ); |
@@ -100,22 +97,25 @@ class ContactEditor : public QDialog { | |||
100 | void slotCountryChange( const QString &textChanged ); | 97 | void slotCountryChange( const QString &textChanged ); |
101 | void slotFullNameChange( const QString &textChanged ); | 98 | void slotFullNameChange( const QString &textChanged ); |
102 | void slotAnniversaryDateChanged( int year, int month, int day); | 99 | void slotAnniversaryDateChanged( int year, int month, int day); |
103 | void slotBirthdayDateChanged( int year, int month, int day); | 100 | void slotBirthdayDateChanged( int year, int month, int day); |
101 | void slotRemoveBirthday(); | ||
102 | void slotRemoveAnniversary(); | ||
104 | 103 | ||
105 | private: | 104 | private: |
106 | bool useFullName, hasGender, hasTitle, hasCompany, hasNotes, hasStreet, hasStreet2, hasPOBox, hasCity, hasState, hasZip, hasCountry; | 105 | bool useFullName; |
106 | // bool hasGender, hasTitle, hasCompany, hasNotes, hasStreet, hasStreet2, hasPOBox, hasCity, hasState, hasZip, hasCountry; | ||
107 | 107 | ||
108 | OContact ent; | 108 | OContact ent; |
109 | 109 | ||
110 | QDialog *dlgNote; | 110 | QDialog *dlgNote; |
111 | QDialog *dlgName; | 111 | QDialog *dlgName; |
112 | 112 | ||
113 | QList<QLineEdit> listValue; | 113 | QList<QLineEdit> listValue; |
114 | QList<QLabel> listName; | 114 | QList<QLabel> listName; |
115 | const QValueList<int> *orderedValues; | 115 | |
116 | QStringList slOrdered; | ||
117 | QStringList slDynamicEntries; | 116 | QStringList slDynamicEntries; |
117 | QStringList trlDynamicEntries; | ||
118 | 118 | ||
119 | bool m_personalView; | 119 | bool m_personalView; |
120 | 120 | ||
121 | QStringList slHomeAddress; | 121 | QStringList slHomeAddress; |