Development/Architecture/KDE3/Control Center Modules

From KDE TechBase
Revision as of 16:27, 11 January 2007 by Dhaumann (talk | contribs) (port http://developer.kde.org/documentation/library/kdeqt/kde3arch/kcontrol.html)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

KDE Architecture - Control center

Control center modules

The KDE control center is a modular application. It acts as a container for "Control center modules". Modules are implemented as dynamically loadable libraries.

In order to write a control center module, inherit the class KCModule from the libkdeui library. This class in turn inherits QWidget. Basically, you only have to reimplement some methods to load and save the configuration of the items that are configured in your module. In order to notify the control center about a new module, it has to install a .desktop file in the directory applnk/Settings in the KDE directory hierarchy.

Further information is available in the KCModule class reference.


Initial Author: Bernd Gehrmann