summaryrefslogtreecommitdiff
path: root/core/pim/osearch/eventitem.h
Side-by-side diff
Diffstat (limited to 'core/pim/osearch/eventitem.h') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/osearch/eventitem.h8
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
@@ -15,7 +15,9 @@
#include "resultitem.h"
-class OEvent;
+#include <opie2/opimevent.h>
+
+using namespace Opie;
/**
@author Patrick S. Vogt
@@ -23,7 +25,7 @@ class OEvent;
class EventItem : public ResultItem
{
public:
- EventItem(OListViewItem* parent, OEvent *event);
+ EventItem(OListViewItem* parent, OPimEvent *event);
~EventItem();
@@ -33,7 +35,7 @@ public:
private:
void setIcon();
- OEvent *_event;
+ OPimEvent *_event;
};