Development/Architecture/KDE3/Control Center Modules: Difference between revisions
m (Development/Architecture/KDE 3 Architecture/Control Center Modules moved to Development/Architecture/KDE3/Control Center Modules) |
|
(No difference)
|
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