The kcontrol_module application template is a simple module for the KDE Control Center. The module can also be run as a separate application outside of KControl to ease development and debugging.
kcontrol_module