Difference between revisions of "Development/Architecture/KDE3/Control Center Modules"

Jump to: navigation, search
(port http://developer.kde.org/documentation/library/kdeqt/kde3arch/kcontrol.html)
(One intermediate revision by the same user not shown)
Line 21: Line 21:
''Initial Author:'' [mailto:bernd@kdevelop.org Bernd Gehrmann]
''Initial Author:'' [mailto:bernd@kdevelop.org Bernd Gehrmann]

Latest revision as of 21:37, 11 March 2007

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

This page was last modified on 11 March 2007, at 21:37. Content is available under Creative Commons License SA 4.0 unless otherwise noted.