-rw-r--r-- | core/pim/osearch/todosearch.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/core/pim/osearch/todosearch.h b/core/pim/osearch/todosearch.h index ee175da..740e483 100644 --- a/core/pim/osearch/todosearch.h +++ b/core/pim/osearch/todosearch.h | |||
@@ -6,38 +6,42 @@ | |||
6 | // | 6 | // |
7 | // | 7 | // |
8 | // Author: Patrick S. Vogt <tille@handhelds.org>, (C) 2003 | 8 | // Author: Patrick S. Vogt <tille@handhelds.org>, (C) 2003 |
9 | // | 9 | // |
10 | // Copyright: See COPYING file that comes with this distribution | 10 | // Copyright: See COPYING file that comes with this distribution |
11 | // | 11 | // |
12 | // | 12 | // |
13 | #ifndef TODOSEARCH_H | 13 | #ifndef TODOSEARCH_H |
14 | #define TODOSEARCH_H | 14 | #define TODOSEARCH_H |
15 | 15 | ||
16 | #include "searchgroup.h" | 16 | #include "searchgroup.h" |
17 | 17 | ||
18 | class OTodoAccess; | 18 | #include <opie2/otodoaccess.h> |
19 | #include <opie2/opimtodo.h> | ||
20 | |||
19 | class QAction; | 21 | class QAction; |
20 | 22 | ||
23 | using namespace Opie; | ||
24 | |||
21 | /** | 25 | /** |
22 | @author Patrick S. Vogt | 26 | @author Patrick S. Vogt |
23 | */ | 27 | */ |
24 | class TodoSearch : public SearchGroup | 28 | class TodoSearch : public SearchGroup |
25 | { | 29 | { |
26 | public: | 30 | public: |
27 | TodoSearch(QListView* parent, QString name); | 31 | TodoSearch(QListView* parent, QString name); |
28 | ~TodoSearch(); | 32 | ~TodoSearch(); |
29 | 33 | ||
30 | virtual QPopupMenu* popupMenu(); | 34 | virtual QPopupMenu* popupMenu(); |
31 | 35 | ||
32 | protected: | 36 | protected: |
33 | virtual void load(); | 37 | virtual void load(); |
34 | virtual int search(); | 38 | virtual int search(); |
35 | virtual void insertItem( void* ); | 39 | virtual void insertItem( void* ); |
36 | 40 | ||
37 | private: | 41 | private: |
38 | OTodoAccess *_todos; | 42 | OPimTodoAccess *_todos; |
39 | QAction *actionShowCompleted; | 43 | QAction *actionShowCompleted; |
40 | QPopupMenu *_popupMenu; | 44 | QPopupMenu *_popupMenu; |
41 | }; | 45 | }; |
42 | 46 | ||
43 | #endif | 47 | #endif |