Skip to content

Allow reading enabled state from KPluginMetaData using templated method

Alexander Lohnau requested to merge work/kpluginmetadata_enabled_state into master

This way we don't need to duplicate the string logic in all the usages where plugins can be enabled/disabled. By having a templated method we do not need to depend on KConfig or be forced to use QSettings, which will force us to reparse the config.

This should simplify porting consumers away from KPluginInfo.

Task: https://phabricator.kde.org/T12178

Merge request reports