Lines Matching refs:serviceType
75 KServiceOfferList KServiceTypeTrader::weightedOffers(const QString &serviceType) // static, internal in weightedOffers() argument
80 …Ptr servTypePtr = KSycocaPrivate::self()->serviceTypeFactory()->findServiceTypeByName(serviceType); in weightedOffers()
82 qCWarning(SERVICES) << "KServiceTypeTrader: serviceType" << serviceType << "not found"; in weightedOffers()
92 …const KServiceOfferList offers = KServiceTypeProfile::sortServiceTypeOffers(services, serviceType); in weightedOffers()
97 KService::List KServiceTypeTrader::defaultOffers(const QString &serviceType, const QString &constra… in defaultOffers() argument
100 …Ptr servTypePtr = KSycocaPrivate::self()->serviceTypeFactory()->findServiceTypeByName(serviceType); in defaultOffers()
102 qCWarning(SERVICES) << "KServiceTypeTrader: serviceType" << serviceType << "not found"; in defaultOffers()
118 KService::List KServiceTypeTrader::query(const QString &serviceType, const QString &constraint) con… in query() argument
120 if (!KServiceTypeProfile::hasProfile(serviceType)) { in query()
123 return defaultOffers(serviceType, constraint); in query()
128 const KServiceOfferList offers = weightedOffers(serviceType); in query()
143 KService::Ptr KServiceTypeTrader::preferredService(const QString &serviceType) const
145 const KServiceOfferList offers = weightedOffers(serviceType);