Add X-KDE-KCM-Args as property, read property in module loader

Authored by alex on May 29 2020, 11:22 PM.

Description

Add X-KDE-KCM-Args as property, read property in module loader

With this patch developers can set the arguments for the KCModule constructor by adding the X-KDE-KCM-Args property to the service file.

Compared to the other discussed solutions this approach has the advantage of having the values available in the constructor, not needing to add methods and not changing existing behavior. The is property can be used in any KCM and is not limited to the usage in the task below.

This is a requirement for https://phabricator.kde.org/T13079.

Details

Committed
dfaureMay 29 2020, 11:22 PM
Parents
R295:97b703a798a0: Fix windows build on the CI, apparently the plugin lib is a .dll GIT_SILENT
Branches
Unknown
Tags
Unknown