Skip to content

KPluginMetaData: Add overloads to read int and bool value

Alexander Lohnau requested to merge work/utility_overload into master

From an API users POV it is not straight forward on how to read custom values. One would need to get the raw data and the read the value from it. Often consumers end up reading the string and then comparing it to "true" or parsing an int from that.

These two overloads should catch the most common usecases for API users.

Specifically I have plasma-framework, kcmutils and kontact in mind for usages.

Merge request reports