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.h14
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
@@ -56,11 +56,8 @@ class ContactEditor : public QDialog {
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 );
@@ -77,8 +74,8 @@ class ContactEditor : public QDialog {
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:
@@ -102,7 +99,10 @@ class ContactEditor : public QDialog {
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;
@@ -113,7 +113,7 @@ class ContactEditor : public QDialog {
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;