• Skip to content
  • Skip to link menu
KDE 4.1 API Reference
  • KDE API Reference
  • KDE-PIM Libraries
  • Sitemap
  • Contact Us
 

akonadi

Akonadi::Control

Akonadi::Control Class Reference

#include <control.h>

Inheritance diagram for Akonadi::Control:

Inheritance graph
[legend]

List of all members.


Detailed Description

Provides methods to control the Akonadi server process.

This class provides a method to start the Akonadi server process synchronously.

Normally the Akonadi server is started by the KDE session manager, however for unit tests or special needs one can use this class to start it explicitly.

Example:

 if ( !Akonadi::Control::start() ) {
   qDebug() << "Unable to start server, exit application";
   return 1;
 } else {
   ...
 }

Author:
Volker Krause <vkrause@kde.org>

Definition at line 54 of file control.h.


Public Member Functions

 ~Control ()

Static Public Member Functions

static bool start ()

Protected Member Functions

 Control ()

Constructor & Destructor Documentation

Control::~Control (  ) 

Destroys the control object.

Definition at line 115 of file control.cpp.

Control::Control (  )  [protected]

Creates the control object.

Definition at line 108 of file control.cpp.


Member Function Documentation

bool Control::start (  )  [static]

Starts the Akonadi server synchronously if it is not already running.

Definition at line 120 of file control.cpp.


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

akonadi

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

KDE-PIM Libraries

Skip menu "KDE-PIM Libraries"
  • akonadi
  • kabc
  • kblog
  • kcal
  • kimap
  • kioslave
  •   imap4
  •   mbox
  • kldap
  • kmime
  • kpimidentities
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2
Generated for KDE-PIM Libraries by doxygen 1.5.4
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