class KServiceGroup


Module kdecore
Namespace
Class KServiceGroup
Inherits KSycocaEntry
KServiceGroup represents a group of service, for example screensavers. This class is typically used like this:

// Lookup screensaver group
KServiceGroup.Ptr group = KServiceGroup.baseGroup("screensavers");
if (!group || !group->isValid()) return;

KServiceGroup.List list = group->entries();

// Iterate over all entries in the group for( KServiceGroup.List.ConstIterator it = list.begin(); it != list.end(); it++) { KSycocaEntry *p = (*it); if (p->isType(KST_KService)) { KService *s = static_cast(p); printf("Name = %s\n", s->name().toLatin1()); } else if (p->isType(KST_KServiceGroup)) { KServiceGroup *g = static_cast(p); // Sub group ... } }

Represents a group of services


enums

enum details

methods