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
@@ -12,29 +12,31 @@
//
#ifndef EVENTITEM_H
#define EVENTITEM_H
#include "resultitem.h"
-class OEvent;
+#include <opie2/opimevent.h>
+
+using namespace Opie;
/**
@author Patrick S. Vogt
*/
class EventItem : public ResultItem
{
public:
- EventItem(OListViewItem* parent, OEvent *event);
+ EventItem(OListViewItem* parent, OPimEvent *event);
~EventItem();
virtual QString toRichText();
virtual void action( int );
virtual QIntDict<QString> actions();
private:
void setIcon();
- OEvent *_event;
+ OPimEvent *_event;
};
#endif