Diffstat (limited to 'core/pim/addressbook/addressbook.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/addressbook/addressbook.h | 45 |
1 files changed, 23 insertions, 22 deletions
diff --git a/core/pim/addressbook/addressbook.h b/core/pim/addressbook/addressbook.h index 8027ccf..4c1e2f2 100644 --- a/core/pim/addressbook/addressbook.h +++ b/core/pim/addressbook/addressbook.h | |||
@@ -30,2 +30,4 @@ | |||
30 | #include "ofloatbar.h" | 30 | #include "ofloatbar.h" |
31 | #include "abview.h" | ||
32 | #include "abconfig.h" | ||
31 | 33 | ||
@@ -46,2 +48,4 @@ class AddressbookWindow: public QMainWindow | |||
46 | public: | 48 | public: |
49 | enum EntryMode { NewEntry=0, EditEntry }; | ||
50 | |||
47 | AddressbookWindow( QWidget *parent = 0, const char *name = 0, WFlags f = 0 ); | 51 | AddressbookWindow( QWidget *parent = 0, const char *name = 0, WFlags f = 0 ); |
@@ -51,5 +55,3 @@ protected: | |||
51 | void resizeEvent( QResizeEvent * e ); | 55 | void resizeEvent( QResizeEvent * e ); |
52 | void showList(); | 56 | |
53 | void showView(); | ||
54 | enum EntryMode { NewEntry=0, EditEntry }; | ||
55 | void editPersonal(); | 57 | void editPersonal(); |
@@ -64,4 +66,2 @@ public slots: | |||
64 | void setDocument( const QString & ); | 66 | void setDocument( const QString & ); |
65 | void slotFindNext(); | ||
66 | void slotFindPrevious(); | ||
67 | #ifdef __DEBUG_RELEASE | 67 | #ifdef __DEBUG_RELEASE |
@@ -73,3 +73,3 @@ private slots: | |||
73 | void slotListNew(); | 73 | void slotListNew(); |
74 | void slotListView(); | 74 | /* void slotListView(); */ |
75 | void slotListDelete(); | 75 | void slotListDelete(); |
@@ -79,3 +79,3 @@ private slots: | |||
79 | void listIsEmpty( bool ); | 79 | void listIsEmpty( bool ); |
80 | void slotSettings(); | 80 | /* void slotSettings(); */ |
81 | void writeMail(); | 81 | void writeMail(); |
@@ -94,2 +94,6 @@ private slots: | |||
94 | 94 | ||
95 | void slotViewSwitched( int ); | ||
96 | void slotListView(); | ||
97 | void slotCardView(); | ||
98 | |||
95 | void slotConfig(); | 99 | void slotConfig(); |
@@ -97,16 +101,15 @@ private slots: | |||
97 | private: | 101 | private: |
98 | void initFields(); // inititialize our fields... | 102 | //void initFields(); // inititialize our fields... |
99 | AbLabel *abView(); | 103 | // AbLabel *abView(); |
100 | void populateCategories(); | 104 | void populateCategories(); |
101 | 105 | ||
102 | QPopupMenu *catMenu, *fontMenu; | 106 | QPopupMenu *catMenu; |
103 | QPEToolBar *listTools; | 107 | QPEToolBar *listTools; |
104 | QToolButton *deleteButton; | 108 | QToolButton *deleteButton; |
105 | QValueList<int> allFields, orderedFields; | 109 | //QValueList<int> allFields, orderedFields; |
106 | QStringList slOrderedFields; | 110 | //QStringList slOrderedFields; |
107 | enum Panes { paneList=0, paneView, paneEdit }; | 111 | enum Panes { paneList=0, paneView, paneEdit }; |
108 | ContactEditor *abEditor; | 112 | ContactEditor *abEditor; |
109 | AbLabel *mView; | ||
110 | LetterPicker *pLabel; | 113 | LetterPicker *pLabel; |
111 | AbTable *abList; | 114 | AbView* m_abView; |
112 | QWidget *listContainer; | 115 | QWidget *listContainer; |
@@ -116,8 +119,2 @@ private: | |||
116 | QLineEdit* searchEdit; | 119 | QLineEdit* searchEdit; |
117 | bool useRegExp; | ||
118 | bool doNotifyWrapAround; | ||
119 | bool caseSensitive; | ||
120 | |||
121 | bool m_useQtMail; | ||
122 | bool m_useOpieMail; | ||
123 | 120 | ||
@@ -125,3 +122,2 @@ private: | |||
125 | 122 | ||
126 | bool bAbEditFirstTime; | ||
127 | int viewMargin; | 123 | int viewMargin; |
@@ -130,5 +126,10 @@ private: | |||
130 | QFont *defaultFont; | 126 | QFont *defaultFont; |
131 | int startFontSize; | 127 | int m_curFontSize; |
132 | 128 | ||
133 | bool isLoading; | 129 | bool isLoading; |
130 | |||
131 | AbConfig m_config; | ||
132 | |||
133 | QAction* m_tableViewButton; | ||
134 | QAction* m_cardViewButton; | ||
134 | }; | 135 | }; |