author | zecke <zecke> | 2004-03-14 20:37:48 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-03-14 20:37:48 (UTC) |
commit | fb19e9dc49a8ed0f1b85fa88ed97d357000955e1 (patch) (unidiff) | |
tree | 9fb860c6fdda787351cabb5e57a4ef1661bdb60c /core/pim/osearch/eventitem.cpp | |
parent | c4784ed159d96c6ba69dcf53eed9fe791e732e52 (diff) | |
download | opie-fb19e9dc49a8ed0f1b85fa88ed97d357000955e1.zip opie-fb19e9dc49a8ed0f1b85fa88ed97d357000955e1.tar.gz opie-fb19e9dc49a8ed0f1b85fa88ed97d357000955e1.tar.bz2 |
no using namespace in a header
Diffstat (limited to 'core/pim/osearch/eventitem.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/osearch/eventitem.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/pim/osearch/eventitem.cpp b/core/pim/osearch/eventitem.cpp index 8dcfc70..7bcf340 100644 --- a/core/pim/osearch/eventitem.cpp +++ b/core/pim/osearch/eventitem.cpp | |||
@@ -1,43 +1,44 @@ | |||
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 | 19 | ||
20 | using namespace Opie; | ||
20 | EventItem::EventItem(OListViewItem* parent, OPimEvent *event) | 21 | EventItem::EventItem(OListViewItem* parent, OPimEvent *event) |
21 | : ResultItem(parent) | 22 | : ResultItem(parent) |
22 | { | 23 | { |
23 | _event = event; | 24 | _event = event; |
24 | setText(0, _event->toShortText() ); | 25 | setText(0, _event->toShortText() ); |
25 | setIcon(); | 26 | setIcon(); |
26 | } | 27 | } |
27 | 28 | ||
28 | 29 | ||
29 | EventItem::~EventItem() | 30 | EventItem::~EventItem() |
30 | { | 31 | { |
31 | } | 32 | } |
32 | 33 | ||
33 | 34 | ||
34 | QString EventItem::toRichText() | 35 | QString EventItem::toRichText() |
35 | { | 36 | { |
36 | return _event->toRichText(); | 37 | return _event->toRichText(); |
37 | } | 38 | } |
38 | 39 | ||
39 | void EventItem::action( int act ) | 40 | void EventItem::action( int act ) |
40 | { | 41 | { |
41 | if (act == 0){ | 42 | if (act == 0){ |
42 | QCopEnvelope e("QPE/Application/datebook", "viewDefault(QDate)"); | 43 | QCopEnvelope e("QPE/Application/datebook", "viewDefault(QDate)"); |
43 | e << _event->startDateTime().date(); | 44 | e << _event->startDateTime().date(); |