-rw-r--r-- | core/pim/osearch/todoitem.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/core/pim/osearch/todoitem.h b/core/pim/osearch/todoitem.h index cc78e57..7c8537b 100644 --- a/core/pim/osearch/todoitem.h +++ b/core/pim/osearch/todoitem.h | |||
@@ -4,35 +4,38 @@ | |||
4 | // | 4 | // |
5 | // Description: | 5 | // Description: |
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 TODOITEM_H | 13 | #ifndef TODOITEM_H |
14 | #define TODOITEM_H | 14 | #define TODOITEM_H |
15 | 15 | ||
16 | |||
17 | #include <opie2/opimtodo.h> | ||
16 | #include "resultitem.h" | 18 | #include "resultitem.h" |
17 | class OTodo; | 19 | |
20 | using namespace Opie; | ||
18 | 21 | ||
19 | /** | 22 | /** |
20 | @author Patrick S. Vogt | 23 | @author Patrick S. Vogt |
21 | */ | 24 | */ |
22 | class TodoItem : public ResultItem | 25 | class TodoItem : public ResultItem |
23 | { | 26 | { |
24 | public: | 27 | public: |
25 | TodoItem(OListViewItem* parent, OTodo *todo); | 28 | TodoItem(OListViewItem* parent, OPimTodo *todo); |
26 | ~TodoItem(); | 29 | ~TodoItem(); |
27 | 30 | ||
28 | virtual QString toRichText(); | 31 | virtual QString toRichText(); |
29 | virtual void action( int ); | 32 | virtual void action( int ); |
30 | virtual QIntDict<QString> actions(); | 33 | virtual QIntDict<QString> actions(); |
31 | 34 | ||
32 | private: | 35 | private: |
33 | void setIcon(); | 36 | void setIcon(); |
34 | OTodo *_todo; | 37 | OPimTodo *_todo; |
35 | 38 | ||
36 | }; | 39 | }; |
37 | 40 | ||
38 | #endif | 41 | #endif |