[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-frameworks-devel
Subject:    Re: Warning: KPluginInfo::property("X-KDE-PluginInfo-Name") is deprecated
From:       Alexander Richardson <arichardson.kde () gmail ! com>
Date:       2015-02-21 17:19:02
Message-ID: CA+Z_v8r7YbRDKGx21t+nOrBddOSMEk2yxHo2Tfgcf4tcKfbosA () mail ! gmail ! com
[Download RAW message or body]

2015-02-21 14:43 GMT+00:00 Marco Martin <notmart@gmail.com>:
> On Sat, Feb 21, 2015 at 1:34 PM, Alexander Richardson
> <arichardson.kde@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
_______________________________________________
Kde-frameworks-devel mailing list
Kde-frameworks-devel@kde.org
https://mail.kde.org/mailman/listinfo/kde-frameworks-devel

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic