The API is based around KPluginInfo, which we are trying to get rid of. Also it is not compatible with KPluginMetaData. Considering that there is no strong need for porting it we should get rid of it.
Suggested plan of action:
- Make sure KPluginMetaData::fromDesktopFile works with the KPluginMetaData loading overload. This way consumers can more easily port to the it.
- (Hopefully make systemsettings and kcmshell utilize this stuff soon after)
- Read X-KDE-Weight property in initialPreference property in KPluginMetaData. This way we can simplify sorting the KCMs.
- Deprecate KCModuleInfo usages in KCMUtils API
- Deprecate KCModuleInfo entirely