akonadi
Akonadi::Control Class Reference
#include <control.h>
Inheritance diagram for Akonadi::Control:

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 { ... }
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 | ( | ) |
Control::Control | ( | ) | [protected] |
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: