summaryrefslogtreecommitdiff
path: root/core/pim/osearch/eventitem.cpp
Unidiff
Diffstat (limited to 'core/pim/osearch/eventitem.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/osearch/eventitem.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/pim/osearch/eventitem.cpp b/core/pim/osearch/eventitem.cpp
index 516a274..bf5b2b9 100644
--- a/core/pim/osearch/eventitem.cpp
+++ b/core/pim/osearch/eventitem.cpp
@@ -10,31 +10,31 @@
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#include "eventitem.h" 13#include "eventitem.h"
14 14
15#include <qpe/qcopenvelope_qws.h> 15#include <qpe/qcopenvelope_qws.h>
16#include <opie/oevent.h> 16#include <opie/oevent.h>
17 17
18EventItem::EventItem(OListViewItem* parent, OEvent *event) 18EventItem::EventItem(OListViewItem* parent, OEvent *event)
19 : ResultItem(parent) 19 : ResultItem(parent)
20{ 20{
21 _event = event; 21 _event = event;
22 setText(0, _event->description() ); 22 setText(0, _event->toShortText() );
23} 23}
24 24
25 25
26EventItem::~EventItem() 26EventItem::~EventItem()
27{ 27{
28} 28}
29 29
30 30
31QString EventItem::toRichText() 31QString EventItem::toRichText()
32{ 32{
33 return _event->toRichText(); 33 return _event->toRichText();
34} 34}
35 35
36void EventItem::editItem() 36void EventItem::editItem()
37{ 37{
38 QCopEnvelope e("QPE/Application/datebook", "editEvent(int)"); 38 QCopEnvelope e("QPE/Application/datebook", "editEvent(int)");
39 e << _event->uid(); 39 e << _event->uid();
40} \ No newline at end of file 40}