[Kde-pim] How to store events to the default calendar?

Kevin Krammer krammer at kde.org
Mon Oct 14 09:25:26 BST 2013


Am Montag, 2013-10-14, 08:43:45 schrieb Sergio Martins:

> > Q1: Is there such a concept as a default calendar (=resource?) outside
> > of KOrganizer, so queryable from Akonadi?
> 
> The method to call is CalendarSupport::KCalPrefs::instance()-
>defaultCalendarId(), unfortunately this is not in kdepimlibs, so you can't
> call it ( it's in kdepim/calendarsupport/kcalprefs.h ). We could move it to
> kdepimlibs though.

Should we think about away to use the SpecialCollections mechanism for that?

Cheers,
Kevin
-- 
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20131014/f7e41c53/attachment.sig>
-------------- next part --------------
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/


More information about the kde-pim mailing list