Difference between revisions of "Control Center Modules (KDE3 Architecture)"
Jump to navigation
Jump to search
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...") |
(-Applicable to TDE (redundant)) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
⚫ | |||
− | == Control center modules == |
||
⚫ | |||
− | |||
⚫ | |||
⚫ | |||
as dynamically loadable libraries. |
as dynamically loadable libraries. |
||
− | In order to write a control center module, inherit the class |
+ | In order to write a control center module, inherit the class TDECModule |
− | from the |
+ | from the libtdeui library. This class in turn inherits TQWidget. |
Basically, you only have to reimplement some methods to load and |
Basically, you only have to reimplement some methods to load and |
||
save the configuration of the items that are configured in your |
save the configuration of the items that are configured in your |
||
module. In order to notify the control center about a new module, |
module. In order to notify the control center about a new module, |
||
it has to install a [http://www.freedesktop.org/standards/desktop-entry-spec/desktop-entry-spec.html .desktop file] in the |
it has to install a [http://www.freedesktop.org/standards/desktop-entry-spec/desktop-entry-spec.html .desktop file] in the |
||
− | directory <tt>applnk/Settings</tt> in the |
+ | directory <tt>applnk/Settings</tt> in the TDE directory hierarchy. |
Further information is available in the |
Further information is available in the |
||
− | [http:// |
+ | [http://trinitydesktop.org/docs/trinity/tdelibs/tdeui/html/classTDECModule.html TDECModule] |
class reference. |
class reference. |
||
Latest revision as of 15:30, 21 April 2022
The Trinity 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 TDECModule from the libtdeui library. This class in turn inherits TQWidget. 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 TDE directory hierarchy.
Further information is available in the TDECModule class reference.
Initial Author: Bernd Gehrmann