• Skip to content
  • Skip to link menu
KDE 4.7 API Reference
  • KDE API Reference
  • KDE-PIM Libraries
  • KDE Home
  • Contact Us
 

akonadi

  • Akonadi
  • Firstrun
Public Member Functions
Akonadi::Firstrun Class Reference

#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
  • Name: 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.


The documentation for this class was generated from the following files:
  • firstrun_p.h
  • firstrun.cpp

akonadi

Skip menu "akonadi"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • Modules
  • Related Pages

KDE-PIM Libraries

Skip menu "KDE-PIM Libraries"
  • akonadi
  •   contact
  •   kmime
  • kabc
  • kblog
  • kcal
  • kcalcore
  • kcalutils
  • kholidays
  • kimap
  • kioslave
  •   imap4
  •   mbox
  •   nntp
  • kldap
  • kmbox
  • kmime
  • kontactinterface
  • kpimidentities
  • kpimtextedit
  •   richtextbuilders
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • microblog
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2
Generated for KDE-PIM Libraries by doxygen 1.7.5
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal