Re: Akonadi Calendar Dataengine

2010-04-06 Thread Aaron J. Seigo
On April 6, 2010, Frederik Gladhorn wrote: > What if I get a second sourceRequestEvent() for the same source string? Do if the source already exists, it won't get called again. sourceRequestEvent is *only* called when the source does not exist. once it exists, calls are made to updateSourEvent a

Re: Akonadi Calendar Dataengine

2010-04-06 Thread Frederik Gladhorn
Hi, Aaron J. Seigo wrote: > On April 6, 2010, Frederik Gladhorn wrote: >> So would "eventsInMonth:2010-04-01" sound OK? I don't have strong >> feelings about this. > > yes, that'd be cool as well, and keep it consistent with holidays. > > events:2010-04-02 could then return the events for just

Re: Akonadi Calendar Dataengine

2010-04-06 Thread Aaron J. Seigo
On April 6, 2010, Frederik Gladhorn wrote: > So would "eventsInMonth:2010-04-01" sound OK? I don't have strong feelings > about this. yes, that'd be cool as well, and keep it consistent with holidays. events:2010-04-02 could then return the events for just one day? would that make sense? > Also

Re: Akonadi Calendar Dataengine

2010-04-06 Thread Frederik Gladhorn
Aaron J. Seigo wrote: > On April 6, 2010, Frederik Gladhorn wrote: >> Requests to it have to have the form: "calendar:-mm-dd:-mm-dd" >> where the two dates are a range. > > could we replace calendar: with events:? sounds good to me (done) > > another concern is that if you have two cale

Re: Akonadi Calendar Dataengine

2010-04-06 Thread Aaron J. Seigo
On April 6, 2010, Frederik Gladhorn wrote: > Requests to it have to have the form: "calendar:-mm-dd:-mm-dd" > where the two dates are a range. could we replace calendar: with events:? another concern is that if you have two calendars viewing similar data, the data won't get shared. e.g.

Re: Akonadi Calendar Dataengine

2010-04-06 Thread Frederik Gladhorn
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.

Re: Akonadi Calendar Dataengine

2010-04-05 Thread Aaron J. Seigo
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

Re: Akonadi Calendar Dataengine

2010-04-05 Thread Aaron J. Seigo
On April 5, 2010, Marco Martin wrote: > > The other one is the Akonadi dataengine which doesn't care about > > calendars yet. On the other hand it already links to Akonadi. > > It has emails, microblogging and contacts as data. > > This one uses "ContactCollection-id" so the separators are ':' and

Re: Akonadi Calendar Dataengine

2010-04-05 Thread Frederik Gladhorn
Marco Martin wrote: > On Monday 05 April 2010, Frederik Gladhorn wrote: >> Hi all, >> >> I just noticed that now - with KDE SC 4.4, I have a working Akonadi >> Calendar. Which by itself is pretty awesome of course. But wouldn't it be >> even ++aweseome if that was connected to my >> plasma-clock-

Re: Akonadi Calendar Dataengine

2010-04-05 Thread Marco Martin
On Monday 05 April 2010, Frederik Gladhorn wrote: > Hi all, > > I just noticed that now - with KDE SC 4.4, I have a working Akonadi > Calendar. Which by itself is pretty awesome of course. But wouldn't it be > even ++aweseome if that was connected to my plasma-clock-foldout-calendar? not only awe

Akonadi Calendar Dataengine

2010-04-05 Thread Frederik Gladhorn
Hi all, I just noticed that now - with KDE SC 4.4, I have a working Akonadi Calendar. Which by itself is pretty awesome of course. But wouldn't it be even ++aweseome if that was connected to my plasma-clock-foldout-calendar? So I set down and poked our pimsters and got all the info I need in or