Control Center Modules (KDE3 Architecture)

From Trinity Desktop Project Wiki
Revision as of 21:11, 4 June 2014 by imported>Eliddell (Created page with "== 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 loa...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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