akonadi
#include <firstrun_p.h>
Inherits QObject.
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.
Definition at line 67 of file firstrun_p.h.
Constructor & Destructor Documentation
◆ Firstrun()
|
explicit |
Definition at line 47 of file firstrun.cpp.
◆ ~Firstrun()
Firstrun::~Firstrun | ( | ) |
Definition at line 70 of file firstrun.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.