|
|
This class holds the offers for a service type (e.g. in old terms "the bindings for a mimetype")
int preference ( const QString& _service ) |
Returns: the users preference of this special service or 0 if the service is unknown.
QString serviceType () |
Returns: the service type for which this profile is responsible.
KService::Ptr preferredService ( const QString & _serviceType) |
Returns: the preferred service (convenience method)
KServiceTypeProfile* serviceTypeProfile ( const QString& _servicetype ) |
Returns: the profile for the requested service type.
OfferList offers ( const QString& _servicetype ) |
Returns: the offers associated with a given servicetype
void clear () |
Clear all cached information
KServiceTypeProfile ( const QString& _servicetype ) |
Constructor is called when the user profile is read for the first time.
void addService ( const QString& _service, int _preference = 1, bool _allow_as_default = TRUE ) |
Add a service to this profile.
Generated by: root@tantive.terraplex.com on Sun Feb 27 17:39:31 2000, using kdoc 2.0a33. |