Diffstat (limited to 'core/pim/addressbook/addressbook.h') (more/less context) (show whitespace changes)
-rw-r--r-- | core/pim/addressbook/addressbook.h | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/core/pim/addressbook/addressbook.h b/core/pim/addressbook/addressbook.h index bf36407..b7cf355 100644 --- a/core/pim/addressbook/addressbook.h +++ b/core/pim/addressbook/addressbook.h | |||
@@ -17,15 +17,20 @@ | |||
17 | ** not clear to you. | 17 | ** not clear to you. |
18 | ** | 18 | ** |
19 | **********************************************************************/ | 19 | **********************************************************************/ |
20 | #ifndef Addressbook_H | 20 | #ifndef Addressbook_H |
21 | #define Addressbook_H | 21 | #define Addressbook_H |
22 | 22 | ||
23 | // Remove this for OPIE releae 1.0 ! | ||
24 | #define __DEBUG_RELEASE | ||
25 | |||
23 | #include <qmainwindow.h> | 26 | #include <qmainwindow.h> |
24 | #include <qvaluelist.h> | 27 | #include <qvaluelist.h> |
25 | #include <qstringlist.h> | 28 | #include <qstringlist.h> |
29 | #include <qlineedit.h> | ||
30 | #include "ofloatbar.h" | ||
26 | 31 | ||
27 | class ContactEditor; | 32 | class ContactEditor; |
28 | class AbLabel; | 33 | class AbLabel; |
29 | class AbTable; | 34 | class AbTable; |
30 | class QPEToolBar; | 35 | class QPEToolBar; |
31 | class QPopupMenu; | 36 | class QPopupMenu; |
@@ -54,12 +59,15 @@ protected: | |||
54 | 59 | ||
55 | public slots: | 60 | public slots: |
56 | void flush(); | 61 | void flush(); |
57 | void reload(); | 62 | void reload(); |
58 | void appMessage(const QCString &, const QByteArray &); | 63 | void appMessage(const QCString &, const QByteArray &); |
59 | void setDocument( const QString & ); | 64 | void setDocument( const QString & ); |
65 | #ifdef __DEBUG_RELEASE | ||
66 | void slotSave(); | ||
67 | #endif | ||
60 | 68 | ||
61 | private slots: | 69 | private slots: |
62 | void importvCard(); | 70 | void importvCard(); |
63 | void slotListNew(); | 71 | void slotListNew(); |
64 | void slotListView(); | 72 | void slotListView(); |
65 | void slotListDelete(); | 73 | void slotListDelete(); |
@@ -68,18 +76,22 @@ private slots: | |||
68 | void slotPersonalView(); | 76 | void slotPersonalView(); |
69 | void listIsEmpty( bool ); | 77 | void listIsEmpty( bool ); |
70 | void slotSettings(); | 78 | void slotSettings(); |
71 | void writeMail(); | 79 | void writeMail(); |
72 | void slotBeam(); | 80 | void slotBeam(); |
73 | void beamDone( Ir * ); | 81 | void beamDone( Ir * ); |
74 | void slotFind(); | ||
75 | void slotSetCategory( int ); | 82 | void slotSetCategory( int ); |
76 | void slotSetLetter( char ); | 83 | void slotSetLetter( char ); |
77 | void slotUpdateToolbar(); | 84 | void slotUpdateToolbar(); |
78 | void slotSetFont(int); | 85 | void slotSetFont(int); |
79 | 86 | ||
87 | void slotFindOpen(); | ||
88 | void slotFindClose(); | ||
89 | void slotFind(); | ||
90 | void slotFindNext(); | ||
91 | |||
80 | private: | 92 | private: |
81 | void initFields(); // inititialize our fields... | 93 | void initFields(); // inititialize our fields... |
82 | AbLabel *abView(); | 94 | AbLabel *abView(); |
83 | void populateCategories(); | 95 | void populateCategories(); |
84 | 96 | ||
85 | QPopupMenu *catMenu, *fontMenu; | 97 | QPopupMenu *catMenu, *fontMenu; |
@@ -91,12 +103,15 @@ private: | |||
91 | ContactEditor *abEditor; | 103 | ContactEditor *abEditor; |
92 | AbLabel *mView; | 104 | AbLabel *mView; |
93 | LetterPicker *pLabel; | 105 | LetterPicker *pLabel; |
94 | AbTable *abList; | 106 | AbTable *abList; |
95 | QWidget *listContainer; | 107 | QWidget *listContainer; |
96 | 108 | ||
109 | OFloatBar* searchBar; | ||
110 | QLineEdit* searchEdit; | ||
111 | |||
97 | QAction *actionNew, *actionEdit, *actionTrash, *actionFind, *actionBeam, *actionPersonal, *actionMail; | 112 | QAction *actionNew, *actionEdit, *actionTrash, *actionFind, *actionBeam, *actionPersonal, *actionMail; |
98 | 113 | ||
99 | bool bAbEditFirstTime; | 114 | bool bAbEditFirstTime; |
100 | int viewMargin; | 115 | int viewMargin; |
101 | 116 | ||
102 | bool syncing; | 117 | bool syncing; |