KDE 4.1 PyKDE API Reference
  • KDE's Python API
  • Overview
  • PyKDE Home
  • Sitemap
  • Contact Us
 

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 {
   ...
 }

Author:
Volker Krause <vkrause@kde.org>


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.

  • Full Index

Modules

  • akonadi
  • dnssd
  • kdecore
  • kdeui
  • khtml
  • kio
  • knewstuff
  • kparts
  • kutils
  • nepomuk
  • phonon
  • solid
  • soprano
This documentation is maintained by Simon Edwards.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal