Instead use the the create function which takes the KPluginMetaData in a typesafe way:
QWidget *, QObject *, const KPluginMetaData &, const QVariantList &
Depending on the API it might make sense to deprecate the other overload(s).
Instead use the the create function which takes the KPluginMetaData in a typesafe way:
QWidget *, QObject *, const KPluginMetaData &, const QVariantList &
Depending on the API it might make sense to deprecate the other overload(s).
In plasma-frameworks & krunner the constructor overloads which do not take the metadata overload are deprecated.
Places where this needs to be used/enforced are:
I don't think we have to worry about the dataengines in this context.
Because consumers/frameworks access the data from the variant list based on the index, we can not really deprecate/remove anything in KF5. Consequently this should wait for KF6 branching.