author | eilers <eilers> | 2002-10-18 15:42:57 (UTC) |
---|---|---|
committer | eilers <eilers> | 2002-10-18 15:42:57 (UTC) |
commit | 47e60a8dc20f46dd00b9405f7fde122792018627 (patch) (unidiff) | |
tree | b109ca9e9c200e7e47c0e61e8f2e86ba6bf4a37f /core/pim/addressbook/addressbook.h | |
parent | c16dcab3fe45ae7193cbdfb2f62bf7e5482d449b (diff) | |
download | opie-47e60a8dc20f46dd00b9405f7fde122792018627.zip opie-47e60a8dc20f46dd00b9405f7fde122792018627.tar.gz opie-47e60a8dc20f46dd00b9405f7fde122792018627.tar.bz2 |
First attempt of new find entry field.. It still needs some finetuning !
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 | |||
@@ -20,9 +20,14 @@ | |||
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; |
@@ -57,6 +62,9 @@ public slots: | |||
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(); |
@@ -71,12 +79,16 @@ private slots: | |||
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(); |
@@ -94,6 +106,9 @@ private: | |||
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; |