Akonadi::Firstrun Class Reference

Takes care of setting up default resource agents when running Akonadi for the first time. More...

#include <firstrun_p.h>

Inherits QObject.

List of all members.

Public Member Functions

 Firstrun (QObject *parent=0)

Detailed Description

Takes care of setting up default resource agents when running Akonadi for the first time.

Defining your own default agent setups

To add an additional agent to the default Akonadi setup, add a file with the agent setup description into $KDEDIR/share/akonadi/firstrun.

Such a file looks as follows:

  [Agent]
  Id=defaultaddressbook
  Type=akonadi_vcard_resource
  Name=My Addressbook

  [Settings]
  Path[$e]=~/.kde/share/apps/kabc/std.ics
  AutosaveInterval=1
  

The keys in the [Agent] group are mandatory:

  • Id: A unique identifier of the setup description, should never change to avoid the agent being set up twice.
  • Type: The agent type
  • Nanme: The user visible name for this agent (only used for resource agents currently)

The [Settings] group is optional and contains agent-dependent settings. For those settings to be applied, the agent needs to export its settings via D-Bus using the KConfigXT <-> D-Bus bridge.

Definition at line 67 of file firstrun_p.h.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys