Hi David,
Thanks for your suggestion ;-)
https://github.com/isoft-linux/plasma-workspace/commit/bef267249ee99b0ac4eafaa75116bfda5d2c1daf
On 2016年07月08日 19:14, David Faure wrote:
On vendredi 8 juillet 2016 09:04:54 CEST zhaixiang wrote:
KService::List services;
const KServiceOfferList offers
On vendredi 8 juillet 2016 09:04:54 CEST zhaixiang wrote:
> KService::List services;
> const KServiceOfferList offers =
> KServiceTypeTrader::weightedOffers("Application");
>
> KServiceOfferList::const_iterator itOff = offers.begin();
> for (; itOff != offers.end(); ++itOff) {
>
Hi David,
Thanks for your reply! Happy Euro Cup ;-)
It might needs to use static KServiceTypeTrader::weightedOffers(const
QString ) to get KServiceOfferList offers, for example,
https://github.com/isoft-linux/plasma-workspace/blob/Chinese-word-segmentation/runners/services/servicerunner.cpp#L93
On mardi 28 juin 2016 20:39:40 CEST Sune Vuorela wrote:
> On 2016-06-28, Leslie Zhai wrote:
> > Hi KDE developers,
> >
> > It might needs to use static KServiceTypeTrader::weightedOffers(const
> > QString ) to get KServiceOfferList offers, for example,
>
> I'll let
On 2016-06-28, Leslie Zhai wrote:
> Hi KDE developers,
>
> It might needs to use static KServiceTypeTrader::weightedOffers(const
> QString ) to get KServiceOfferList offers, for example,
I'll let David Faure (kservice maintainer) to comment on if this makes
sense or
Hi KDE developers,
It might needs to use static KServiceTypeTrader::weightedOffers(const
QString ) to get KServiceOfferList offers, for example,
https://github.com/isoft-linux/plasma-workspace/blob/Chinese-word-segmentation/runners/services/servicerunner.cpp#L93
KService::List services;