Akonadi Calendar Dataengine
Frederik Gladhorn
gladhorn at kde.org
Tue Apr 6 18:27:35 CEST 2010
Hi all,
I landed a first version of the data engine in playground now (it's a copy
of the calendar one).
Please let me know if it works for you - it should automatically start
akonadi, but unless you have something in your akonadi calendar, it won't
work. And it should work with KDE 4.4 afaict.
It's compatible with the old calendar one, so just install it and you
shouldn't notice a change.
Requests to it have to have the form: "calendar:yyyy-mm-dd:yyyy-mm-dd" where
the two dates are a range. Currently you might get some events that are not
in the range due to things like recurrence making it not easy to correctly
filter in some cases.
I'd be happy if anyone would write a quick calendar list plasmoid as
example, it could simply show a list of dates and the corresponding event.
Greetings,
Frederik
Aaron J. Seigo wrote:
> On April 5, 2010, Frederik Gladhorn wrote:
>> Calendar - this one uses queries like "isHoliday:region:date" and gives
>
> i think this is the one that should be extended. it was always the
> intention to do so, in fact. :)
>
>> For my purpose I'd rather use a date range to query calendar events.
>> So I'd suggest parameters like:
>> * start date (maybe like the current Calendar engine - iso: yyyy-mm-dd)
>> * end date
>> * optional a filter for types - this can be one of: event/todo/journal -
>> is this useful?
>>
>> Returned would be maps with:
>> start date-time, end date-time, summary, long description, location and
>> type
>
> sounds good.
>
>> Is anyone up to changing the current calendar? It would need at least
>> more
>
> sure; i know that code reasonably well (not the original author, however
> :) and it should be very easy to do.
>
>> Let me know if this is desirable, which data engine to change and then
>> I'm hoping for cool new todo list plasmoids and an extended calendar for
>> the clock
>
> for TODOs, see the todo runner in kdereview.
>
>> Next step would of course be adding a service as well in order to add new
>> calendar events.
>
> yep; DataEngine::serviceForSource ftw :)
>
More information about the Plasma-devel
mailing list