Warning: KPluginInfo::property("X-KDE-PluginInfo-Name") is deprecated

Marco Martin notmart at gmail.com
Sat Feb 21 14:47:41 UTC 2015


On Sat, Feb 21, 2015 at 3:43 PM, Marco Martin <notmart at gmail.com> wrote:
> 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;
>> }

anyways, absolutely +1 on this new function, I like the idea a lot :)

--
Marco Martin


More information about the Kde-frameworks-devel mailing list