#### PyKDE - Python Bindings for KDE

# class KServiceGroup

Table of contents
Modules
kio Classes
All Classes

Module | kio
Class | KServiceGroup
Inherits | KSycocaEntry

### methods

- KServiceGroup (name)

  returns a KServiceGroup instance
  In versions KDE 3.1.0 and above only

  Argument | Type | Default
  --- | --- | ---
  name | QString |

- KServiceGroup (_fullpath, _relpath)

  returns a KServiceGroup instance

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

- KServiceGroup (_str, offset, deep)

  returns a KServiceGroup instance

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

- addEntry (entry)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  entry | KSycocaEntry |

- baseGroup (baseGroupName)

  returns (KServiceGroup.Ptr)
  static

  Argument | Type | Default
  --- | --- | ---
  baseGroupName | QString |

- baseGroupName ()

  returns (QString)

- caption ()

  returns (QString)

- childCount ()

  returns (int)

- childGroup (parent)

  returns (KServiceGroup.Ptr)
  In versions KDE 3.1.0 and above only
  static

  Argument | Type | Default
  --- | --- | ---
  parent | QString |

- comment ()

  returns (QString)

- directoryEntryPath ()

  returns (QString)
  In versions KDE 3.2.0 and above only

- entries (sorted, excludeNoDisplay, allowSeparators, sortByGenericName = 0)

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

  Argument | Type | Default
  --- | --- | ---
  sorted | bool |
  excludeNoDisplay | bool |
  allowSeparators | bool |
  sortByGenericName | bool | 0

- entries (sorted, excludeNoDisplay)

  returns (KSycocaEntry.List)

  Argument | Type | Default
  --- | --- | ---
  sorted | bool |
  excludeNoDisplay | bool |

- entries (sorted = 0)

  returns (KServiceGroup.List)
  In versions KDE 3.1.2 and above only

  Argument | Type | Default
  --- | --- | ---
  sorted | bool | 0

- group (relPath)

  returns (KServiceGroup.Ptr)
  static

  Argument | Type | Default
  --- | --- | ---
  relPath | QString |

- icon ()

  returns (QString)

- isValid ()

  returns (bool)

- layoutInfo ()

  returns (QStringList)
  In versions KDE 3.3.0 and above only

- load (a0)

  returns nothing

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

- name ()

  returns (QString)

- noDisplay ()

  returns (bool)
  In versions KDE 3.1.0 and above only

- relPath ()

  returns (QString)

- root ()

  returns (KServiceGroup.Ptr)
  static

- save (a0)

  returns nothing

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

- setLayoutInfo (layout)

  returns nothing
  In versions KDE 3.2.0 and above only

  Argument | Type | Default
  --- | --- | ---
  layout | QStringList |

- suppressGenericNames ()

  returns (QStringList)
  In versions KDE 3.2.0 and above only