#### PyKDE - Python Bindings for KDE

# class KServiceType

Table of contents
Modules
kio Classes
All Classes

Module | kio
Class | KServiceType
Inherits | KSycocaEntry

### methods

- KServiceType (_fullpath, _name, _icon, _comment)

  returns a KServiceType instance

  Argument | Type | Default
  --- | --- | ---
  _fullpath | QString |
  _name | QString |
  _icon | QString |
  _comment | QString |

- KServiceType (_fullpath)

  returns a KServiceType instance

  Argument | Type | Default
  --- | --- | ---
  _fullpath | QString |

- KServiceType (config)

  returns a KServiceType instance

  Argument | Type | Default
  --- | --- | ---
  config | KDesktopFile |

- KServiceType (_str, offset)

  returns a KServiceType instance

  Argument | Type | Default
  --- | --- | ---
  _str | QDataStream |
  offset | int |

- addService (service)

  returns nothing
  In versions KDE 3.2.0 and above only

  Argument | Type | Default
  --- | --- | ---
  service | KService.Ptr |

- allServiceTypes ()

  returns (List)
  static

- comment ()

  returns (QString)

- desktopEntryPath ()

  returns (QString)

- icon ()

  returns (QString)

- inherits (servTypeName)

  returns (bool)
  In versions KDE 3.1.0 and above only

  Argument | Type | Default
  --- | --- | ---
  servTypeName | QString |

- init (config)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  config | KDesktopFile |

- isDerived ()

  returns (bool)

- isValid ()

  returns (bool)

- load (a0)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | QDataStream |

- name ()

  returns (QString)

- offers (_servicetype)

  returns (KService.List)
  static

  Argument | Type | Default
  --- | --- | ---
  _servicetype | QString |

- parentServiceType ()

  returns (QString)

- parentType ()

  returns (KServiceType.Ptr)
  In versions KDE 3.2.0 and above only

- property (_name)

  returns (QVariant)

  Argument | Type | Default
  --- | --- | ---
  _name | QString |

- propertyDef (_name)

  returns (QVariant.Type)

  Argument | Type | Default
  --- | --- | ---
  _name | QString |

- propertyDefNames ()

  returns (QStringList)

- propertyDefs ()

  returns (QMap<QString,QVariant.Type>)

- propertyDefs ()

  returns (StringVarTypeMap)
  In versions less than KDE 3.5.2 only

- propertyNames ()

  returns (QStringList)

- save (a0)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | QDataStream |

- serviceType (_name)

  returns (Ptr)
  static

  Argument | Type | Default
  --- | --- | ---
  _name | QString |

- services ()

  returns (KService.List)
  In versions KDE 3.2.0 and above only