From 49cc0e47343578c0dfe1294afdf574ebfc1f4f4b Mon Sep 17 00:00:00 2001 From: tille Date: Fri, 09 May 2003 10:08:58 +0000 Subject: datebook displays defaultview (or editor) for found day now (with patch) addressbook (and todo) calls implemented, but not yet working --- (limited to 'core/pim/osearch/eventitem.cpp') 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 @@ -2,7 +2,7 @@ // // C++ Implementation: $MODULE$ // -// Description: +// Description: // // // Author: Patrick S. Vogt , (C) 2003 @@ -12,6 +12,7 @@ // #include "eventitem.h" +#include #include #include @@ -38,3 +39,12 @@ void EventItem::editItem() QCopEnvelope e("QPE/Application/datebook", "editEvent(int)"); e << _event->uid(); } + +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; +} + -- cgit v0.9.0.2