Diffstat (limited to 'core/pim/osearch/eventitem.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/osearch/eventitem.cpp | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/core/pim/osearch/eventitem.cpp b/core/pim/osearch/eventitem.cpp index bf5b2b9..758ad85 100644 --- a/core/pim/osearch/eventitem.cpp +++ b/core/pim/osearch/eventitem.cpp @@ -4,3 +4,3 @@ // -// Description: +// Description: // @@ -14,2 +14,3 @@ +#include <qdatetime.h> #include <qpe/qcopenvelope_qws.h> @@ -40 +41,10 @@ void EventItem::editItem() } + +void EventItem::showItem() +{ + QCopEnvelope e("QPE/Application/datebook", "viewDefault(QDate)"); + QDate day = _event->startDateTime().date(); + qDebug("sending view day %s",day.toString().latin1()); + e << day; +} + |