class KServiceTypeProfile

This class holds the offers for a service type (e. More...

Definition#include <kuserprofile.h>
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Types

Public Methods

Public Static Methods

Protected Methods


Detailed Description

This class holds the offers for a service type (e.g. in old terms "the bindings for a mimetype")

int  preference ( const QString& _service )

[const]

Returns: the users preference of this special service or 0 if the service is unknown.

QString  serviceType ()

[const]

Returns: the service type for which this profile is responsible.

KService::Ptr  preferredService ( const QString & _serviceType)

[static]

Returns: the preferred service (convenience method)

KServiceTypeProfile*  serviceTypeProfile ( const QString& _servicetype )

[static]

Returns: the profile for the requested service type.

OfferList  offers ( const QString& _servicetype )

[static]

Returns: the offers associated with a given servicetype

void  clear ()

[static]

Clear all cached information

 KServiceTypeProfile ( const QString& _servicetype )

[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 )

[protected]

Add a service to this profile.


Generated by: dfaure@faure on Sun Mar 26 14:24:43 2000, using kdoc 2.0a35.