-rw-r--r-- | core/pim/osearch/eventitem.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/core/pim/osearch/eventitem.h b/core/pim/osearch/eventitem.h index 5f9c9fc..68923f1 100644 --- a/core/pim/osearch/eventitem.h +++ b/core/pim/osearch/eventitem.h | |||
@@ -6,35 +6,37 @@ | |||
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 EVENTITEM_H | 13 | #ifndef EVENTITEM_H |
14 | #define EVENTITEM_H | 14 | #define EVENTITEM_H |
15 | 15 | ||
16 | #include "resultitem.h" | 16 | #include "resultitem.h" |
17 | 17 | ||
18 | class OEvent; | 18 | #include <opie2/opimevent.h> |
19 | |||
20 | using namespace Opie; | ||
19 | 21 | ||
20 | /** | 22 | /** |
21 | @author Patrick S. Vogt | 23 | @author Patrick S. Vogt |
22 | */ | 24 | */ |
23 | class EventItem : public ResultItem | 25 | class EventItem : public ResultItem |
24 | { | 26 | { |
25 | public: | 27 | public: |
26 | EventItem(OListViewItem* parent, OEvent *event); | 28 | EventItem(OListViewItem* parent, OPimEvent *event); |
27 | 29 | ||
28 | ~EventItem(); | 30 | ~EventItem(); |
29 | 31 | ||
30 | virtual QString toRichText(); | 32 | virtual QString toRichText(); |
31 | virtual void action( int ); | 33 | virtual void action( int ); |
32 | virtual QIntDict<QString> actions(); | 34 | virtual QIntDict<QString> actions(); |
33 | 35 | ||
34 | private: | 36 | private: |
35 | void setIcon(); | 37 | void setIcon(); |
36 | OEvent *_event; | 38 | OPimEvent *_event; |
37 | 39 | ||
38 | }; | 40 | }; |
39 | 41 | ||
40 | #endif | 42 | #endif |