Skip to content

Akonadi KResource plugins

Saturday, 9 February 2008  |  krake

I just moved the two Akonadi KResource "bridges", i.e. implementations of the KResource plugins for contacts and calendars based on Akonadi (KABC::Resource and KCal::ResourceCalendar respectively), to kdepim/kresources.

If you are intersted in testing them, you need an Akonadi setup with at least one resource for the respective data type, e.g. an Akonadi vCard resource for testing the kabc plugin. Run akonadiconsole to check and/or add such resources and it would probably be wise not use valuable data :)

Adding the bridge plugin to an application works just like adding any of the already existing ones, e.g. for the kabc resource you can fire up kaddressbook and then use its menu "Settings -> Show Extensions -> Address Books" to get a list of activated contact resource plugins.

Then click on "Add..." and you should see the resource named "Akonadi" right on top. Adding it (or clicking on "Edit..." later on) will show you a list of Akonadi contact collections. Select the one you want the resource plugin to access and click "OK".

Works pretty much the same for the kcal plugin in KOrganizer.

Btw, if anyone knows what I am doing wrong in the resource configuration widget, i.e. why it doesn't correctly pre-select the collection on "Edit", please let me know.

If you are an application developer using KABC::StdAddressBook or the KCal equivalent, you'll probably need to edit the respective stdrc config file to make the Akonadi resource the default.

Since my experience is mostly KABC related, I'd like to ask especially developers using the KCal APIs for feedback.

But now, back to watching the Atlantis ISS docking on NASA TV