Warning: KPluginInfo::property("X-KDE-PluginInfo-Name") is deprecated
Alexander Richardson
arichardson.kde at gmail.com
Sat Feb 21 17:19:02 UTC 2015
2015-02-21 14:43 GMT+00:00 Marco Martin <notmart at gmail.com>:
> On Sat, Feb 21, 2015 at 1:34 PM, Alexander Richardson
> <arichardson.kde at gmail.com> wrote:
>> and then we could also have something like
>> KServiceTypeTrader::findPlugin(serviceType, name) that expands to
>> KServiceTypeTrader::self()->query(serviceType, [](const KPluginInfo &info) {
>> return info.pluginName() == name;
>> }
>>
>> I have been meaning to add this for quite a while, but I am really
>> busy at the moment.
>
> So we would maintain such a warning, but start to port users to that
> new api instead?
Yes, that would be my suggestion. I won't be able to work on it before
Thursday though. Ideally there shouldn't be many changes required to
make it work for KMimeTypeTrader aswell, so then in KF5 we can get rid
of all the generated parsing code.
Alex
More information about the Kde-frameworks-devel
mailing list