|
|
This class holds the offers for a service type (e.g. in old terms "the bindings for a mimetype")
| typedef QValueList<KServiceOffer> OfferList | OfferList |
| ~KServiceTypeProfile ()
| ~KServiceTypeProfile |
| int preference ( const QString& _service )
| preference |
[const]
Returns: the users preference of this special service or 0 if the service is unknown.
| bool allowAsDefault ( const QString& _service )
| allowAsDefault |
[const]
| OfferList offers ()
| offers |
[const]
| QString serviceType ()
| serviceType |
[const]
Returns: the service type for which this profile is responsible.
| KService::Ptr preferredService ( const QString & _serviceType, bool needApp )
| preferredService |
[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)
| KServiceTypeProfile* serviceTypeProfile ( const QString& _servicetype )
| serviceTypeProfile |
[static]
Returns: the profile for the requested service type.
| OfferList offers ( const QString& _servicetype )
| offers |
[static]
Returns: the offers associated with a given servicetype
| const QList<KServiceTypeProfile>& serviceTypeProfiles ()
| serviceTypeProfiles |
[static]
| void clear ()
| clear |
[static]
Clear all cached information
| KServiceTypeProfile ( const QString& _servicetype )
| KServiceTypeProfile |
[protected: ]
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 )
| addService |
[protected: ]
Add a service to this profile.
| Generated by: dfaure on Tue Feb 27 12:46:56 2001, using kdoc 2.0a50. |