Skip to content

Use X-KDE-Args service property for KCM arguments

Alexander Lohnau requested to merge (removed):allow_args_in_service into master

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.

Edited by Alexander Lohnau

Merge request reports