Diffstat (limited to 'core/pim/addressbook/abview.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/addressbook/abview.h | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/core/pim/addressbook/abview.h b/core/pim/addressbook/abview.h index 4d35338..201b521 100644 --- a/core/pim/addressbook/abview.h +++ b/core/pim/addressbook/abview.h | |||
@@ -19,5 +19,6 @@ class AbView: public QWidget | |||
19 | public: | 19 | public: |
20 | enum Views{ TableView=0, CardView, PhoneBook, CompanyBook, EmailBook }; | 20 | enum Views{ TableView=0, CardView, PersonalView }; |
21 | 21 | ||
22 | AbView( QWidget* parent, const QValueList<int>& ordered, const QStringList& slOrderedFields ); | 22 | AbView( QWidget* parent, const QValueList<int>& ordered ); |
23 | ~AbView(); | ||
23 | 24 | ||
@@ -29,5 +30,7 @@ public: | |||
29 | void setView( Views view ); | 30 | void setView( Views view ); |
30 | void showContact( const OContact& cnt ); | 31 | void showPersonal( bool personal ); |
31 | void setShowByCategory( Views view, const QString& cat ); | 32 | void setShowByCategory( Views view, const QString& cat ); |
32 | void setShowByLetter( char c ); | 33 | void setShowByLetter( char c ); |
34 | void setListOrder( const QValueList<int>& ordered ); | ||
35 | |||
33 | // Add Entry and put to current | 36 | // Add Entry and put to current |
@@ -55,2 +58,3 @@ public slots: | |||
55 | private: | 58 | private: |
59 | void updateListinViews(); | ||
56 | void updateView(); | 60 | void updateView(); |
@@ -63,2 +67,3 @@ private: | |||
63 | bool m_inSearch; | 67 | bool m_inSearch; |
68 | bool m_inPersonal; | ||
64 | int m_curr_category; | 69 | int m_curr_category; |
@@ -68,3 +73,4 @@ private: | |||
68 | 73 | ||
69 | OContactAccess m_contactdb; | 74 | OContactAccess* m_contactdb; |
75 | OContactAccess* m_storedDB; | ||
70 | OContactAccess::List m_list; | 76 | OContactAccess::List m_list; |
@@ -76,3 +82,2 @@ private: | |||
76 | QValueList<int> m_orderedFields; | 82 | QValueList<int> m_orderedFields; |
77 | QStringList m_slOrderedFields; | ||
78 | }; | 83 | }; |