Control Class Reference
from PyKDE4.akonadi import *
Inherits: QObject
Namespace: Akonadi
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 { ... }
Methods | |
__init__ (self) | |
Static Methods | |
bool | start () |
Method Documentation
__init__ | ( | self ) |
Creates the control object.
bool start | ( | ) |
Starts the Akonadi server synchronously if it is not already running.