#### 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 |

- allowInline ()

  returns (bool)
  In versions KDE 3.5.0 and above only

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

- inlineAlias ()

  returns (bool)
  In versions KDE 3.5.0 and above only

- inlineValue ()

  returns (int)
  In versions KDE 3.5.0 and above only

- 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

- parseAttribute (item)

  returns showEmptyMenu (bool) showInline (bool) showInlineHeader (bool) showInlineAlias (bool) inlineValue (int)
  In versions KDE 3.5.0 and above only
  Argument | Type | Default
  --- | --- | ---
  item | QString |

- relPath ()

  returns (QString)

- root ()

  returns (KServiceGroup.Ptr)
  static

- save (a0)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  a0 | QDataStream |

- setAllowInline (_b)

  returns nothing
  In versions KDE 3.5.0 and above only
  Argument | Type | Default
  --- | --- | ---
  _b | bool |

- setInlineAlias (_b)

  returns nothing
  In versions KDE 3.5.0 and above only
  Argument | Type | Default
  --- | --- | ---
  _b | bool |

- setInlineValue (_val)

  returns nothing
  In versions KDE 3.5.0 and above only
  Argument | Type | Default
  --- | --- | ---
  _val | int |

- setLayoutInfo (layout)

  returns nothing
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  layout | QStringList |

- setShowEmptyMenu (b)

  returns nothing
  In versions KDE 3.5.0 and above only
  Argument | Type | Default
  --- | --- | ---
  b | bool |

- setShowInlineHeader (_b)

  returns nothing
  In versions KDE 3.5.0 and above only
  Argument | Type | Default
  --- | --- | ---
  _b | bool |

- showEmptyMenu ()

  returns (bool)
  In versions KDE 3.5.0 and above only

- showInlineHeader ()

  returns (bool)
  In versions KDE 3.5.0 and above only

- suppressGenericNames ()

  returns (QStringList)
  In versions KDE 3.2.0 and above only