#### PyKDE - Python Bindings for KDE

# class KServiceTypeProfile

Table of contents
Modules
kio Classes
All Classes

Module | kio
Class | KServiceTypeProfile
Inherits |

### methods

- KServiceTypeProfile (serviceType, genericServiceType = QString .null)

  returns a KServiceTypeProfile instance

  Argument | Type | Default
  --- | --- | ---
  serviceType | QString |
  genericServiceType | QString | QString .null

- addService (_service, _preference = 1, _allow_as_default = 1)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  _service | QString |
  _preference | int | 1
  _allow_as_default | bool | 1

- allowAsDefault (_service)

  returns (bool)

  Argument | Type | Default
  --- | --- | ---
  _service | QString |

- clear ()

  returns nothing
  static

- configurationMode ()

  returns (bool)
  static

- offers ()

  returns (KServiceTypeProfile.OfferList)

- offers (servicetype, genericServiceType = QString .null)

  returns (KServiceTypeProfile.OfferList)
  static

  Argument | Type | Default
  --- | --- | ---
  servicetype | QString |
  genericServiceType | QString | QString .null

- offers ()

  returns (QValueList<KServiceOffer>)
  In versions less than KDE 3.5.0 only

- offers (a0, a1)

  returns (QValueList<KServiceOffer>)
  In versions less than KDE 3.5.0 only
  static

  Argument | Type | Default
  --- | --- | ---
  a0 | QString |
  a1 | QString |

- preference (_service)

  returns (int)

  Argument | Type | Default
  --- | --- | ---
  _service | QString |

- preferredService (serviceType, genericServiceType)

  returns (KService.Ptr)
  static

  Argument | Type | Default
  --- | --- | ---
  serviceType | QString |
  genericServiceType | QString |

- serviceTypeProfile (servicetype, genericServiceType)

  returns (KServiceTypeProfile)
  static

  Argument | Type | Default
  --- | --- | ---
  servicetype | QString |
  genericServiceType | QString |

- serviceTypeProfiles ()

  returns (QPtrList<KServiceTypeProfile>)
  static

- setConfigurationMode ()

  returns nothing
  static