summaryrefslogtreecommitdiff
path: root/core/pim/addressbook/contacteditor.h
Side-by-side diff
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 {
public:
ContactEditor( const OContact &entry,
- const QValueList<int> *newOrderedValues,
- QStringList *slNewOrdered,
QWidget *parent = 0,
const char *name = 0,
WFlags fl = 0 );
~ContactEditor();
- void loadFields();
void setNameFocus();
void setPersonalView( bool personal = true );
@@ -77,8 +74,8 @@ class ContactEditor : public QDialog {
private:
void init();
- void initMap();
void saveEntry();
bool isEmpty();
void cleanupFields();
+ void updateDatePicker();
QString parseName( QString fullName, int type );
private slots:
@@ -102,7 +99,10 @@ class ContactEditor : public QDialog {
void slotAnniversaryDateChanged( int year, int month, int day);
void slotBirthdayDateChanged( int year, int month, int day);
+ void slotRemoveBirthday();
+ void slotRemoveAnniversary();
private:
- bool useFullName, hasGender, hasTitle, hasCompany, hasNotes, hasStreet, hasStreet2, hasPOBox, hasCity, hasState, hasZip, hasCountry;
+ bool useFullName;
+ // bool hasGender, hasTitle, hasCompany, hasNotes, hasStreet, hasStreet2, hasPOBox, hasCity, hasState, hasZip, hasCountry;
OContact ent;
@@ -113,7 +113,7 @@ class ContactEditor : public QDialog {
QList<QLineEdit> listValue;
QList<QLabel> listName;
- const QValueList<int> *orderedValues;
- QStringList slOrdered;
+
QStringList slDynamicEntries;
+ QStringList trlDynamicEntries;
bool m_personalView;