[Kde-pim] Does an Akonadi resource know what Collection it's handling?

Tobias Koenig tokoe at kde.org
Wed May 26 09:34:23 BST 2010


On Tue, May 25, 2010 at 11:50:48PM +0100, David Jarvie wrote:
Hej David,

> In the implementation of a resource (specifically KAlarmResource, inherited from ICalResourceBase),
> is it possible for it to know which Collection its calendar data belongs to?
Akonadi::Item has a parentCollection() method to access the collection it belongs to.

> I need to know in the resource whether the Collection is read-only or not.
Where do you need to know it? And why?

Ciao,
Tobias
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20100526/ce230591/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