Diffstat (limited to 'core/pim/osearch/eventitem.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/osearch/eventitem.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/core/pim/osearch/eventitem.cpp b/core/pim/osearch/eventitem.cpp index f6e34fe..8dcfc70 100644 --- a/core/pim/osearch/eventitem.cpp +++ b/core/pim/osearch/eventitem.cpp | |||
@@ -1,44 +1,42 @@ | |||
1 | // | 1 | // |
2 | // | 2 | // |
3 | // C++ Implementation: $MODULE$ | 3 | // C++ Implementation: $MODULE$ |
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 | #include "eventitem.h" | 13 | #include "eventitem.h" |
14 | 14 | ||
15 | 15 | ||
16 | #include <qpe/resource.h> | 16 | #include <qpe/resource.h> |
17 | #include <qpe/qcopenvelope_qws.h> | 17 | #include <qpe/qcopenvelope_qws.h> |
18 | 18 | ||
19 | #include <qdatetime.h> | ||
20 | #include <qpixmap.h> | ||
21 | 19 | ||
22 | EventItem::EventItem(OListViewItem* parent, OPimEvent *event) | 20 | EventItem::EventItem(OListViewItem* parent, OPimEvent *event) |
23 | : ResultItem(parent) | 21 | : ResultItem(parent) |
24 | { | 22 | { |
25 | _event = event; | 23 | _event = event; |
26 | setText(0, _event->toShortText() ); | 24 | setText(0, _event->toShortText() ); |
27 | setIcon(); | 25 | setIcon(); |
28 | } | 26 | } |
29 | 27 | ||
30 | 28 | ||
31 | EventItem::~EventItem() | 29 | EventItem::~EventItem() |
32 | { | 30 | { |
33 | } | 31 | } |
34 | 32 | ||
35 | 33 | ||
36 | QString EventItem::toRichText() | 34 | QString EventItem::toRichText() |
37 | { | 35 | { |
38 | return _event->toRichText(); | 36 | return _event->toRichText(); |
39 | } | 37 | } |
40 | 38 | ||
41 | void EventItem::action( int act ) | 39 | void EventItem::action( int act ) |
42 | { | 40 | { |
43 | if (act == 0){ | 41 | if (act == 0){ |
44 | QCopEnvelope e("QPE/Application/datebook", "viewDefault(QDate)"); | 42 | QCopEnvelope e("QPE/Application/datebook", "viewDefault(QDate)"); |