|
|
This class holds the offers for a service type (e.g. in old terms "the bindings for a mimetype")
typedef QValueList<KServiceOffer> |
|
int |
[const]
Returns: the users preference of this special service or 0 if the service is unknown.
bool |
[const]
OfferList |
[const]
QString |
[const]
Returns: the service type_s_ for which this profile is responsible.
KService::Ptr |
[static]
Parameters:
needApp | if we need an service of type Application (as opposed to any service, including non-app services) |
Returns: the preferred service (convenience method)
KService::Ptr |
[static]
preferredService(m,true) is equivalent to preferredService(m,"Application") preferredService(m,false) is equivalent to preferredService(m,QString::null) This call allows e.g. preferredService(m,"KParts/ReadOnlyPart").
Returns: the preferred service (convenience method) for _serviceType and _genericServiceType (Application, type of component, or empty).
KServiceTypeProfile* |
[static]
Returns: the profile for the requested service type.
KServiceTypeProfile* |
[static]
Returns: the profile for the requested service type.
OfferList |
[static]
Returns: the offers associated with a given servicetype, sorted by preference This is what KTrader uses to get the list of offers, before applying the constraints and preferences.
OfferList |
[static]
Returns: the offers associated with the combination of two service types
This is almost like an "blah in ServiceTypes" constraint in the Trader,
but the difference is that to order the offers, we will look at entries
specifically for those two service types. Typically, this is used for
getting the list of embeddable components that can handle a given mimetype.
In that case, servicetype
is the mimetype and genericServiceType
is "KParts/ReadOnlyPart".
const QList<KServiceTypeProfile>& |
[static]
void |
[static]
Clear all cached information
|
[protected: ]
Constructor is called when the user profile is read for the first time.
void |
[protected: ]
Add a service to this profile.
Generated by: marc@yogi on Tue Mar 27 13:07:59 2001, using kdoc 2.0a48. |