KService
kservicegroup.h
185 List entries(bool sorted, bool excludeNoDisplay, bool allowSeparators, bool sortByGenericName = false);
QExplicitlySharedDataPointer< KSycocaEntry > SPtr
A shared data pointer for KSycocaEntry.
Definition kservicegroup.h:64
void setLayoutInfo(const QStringList &layout)
Definition kservicegroup.cpp:628
QStringList suppressGenericNames() const
Returns a list of untranslated generic names that should be be suppressed when showing this group.
Definition kservicegroup.cpp:196
int childCount() const
Returns the total number of displayable services in this group and any of its subgroups.
Definition kservicegroup.cpp:104
@ SortByGenericName
sort by GenericName+Name instead of Name+GenericName
Definition kservicegroup.h:205
QString relPath() const
Returns the relative path of the service group.
Definition kservicegroup.cpp:81
static Ptr group(const QString &relPath)
Returns the group with the given relative path.
Definition kservicegroup.cpp:646
static Ptr childGroup(const QString &parent)
Returns the group of services that have X-KDE-ParentApp equal to parent (siblings).
Definition kservicegroup.cpp:655
List entries(bool sorted, bool excludeNoDisplay, bool allowSeparators, bool sortByGenericName=false)
List of all Services and ServiceGroups within this ServiceGroup.
Definition kservicegroup.cpp:321
bool noDisplay() const
Returns true if the NoDisplay flag was set, i.e.
Definition kservicegroup.cpp:190
KService::List serviceEntries(EntriesOptions options=ExcludeNoDisplay)
entries of this service group
Definition kservicegroup.cpp:291
QString directoryEntryPath() const
Returns a path to the .directory file describing this service group.
Definition kservicegroup.cpp:666
QList< Ptr > groupEntries(EntriesOptions options=ExcludeNoDisplay)
subgroups for this service group
Definition kservicegroup.cpp:272
bool showEmptyMenu() const
Return true if we want to display empty menu entry.
Definition kservicegroup.cpp:136
QString icon() const
Returns the name of the icon associated with the group.
Definition kservicegroup.cpp:92
KServiceGroup(const QString &name)
Construct a dummy servicegroup indexed with name.
Definition kservicegroup.cpp:19
QString baseGroupName() const
Returns a non-empty string if the group is a special base group.
Definition kservicegroup.cpp:661
void addEntry(const KSycocaEntry::Ptr &entry)
Definition kservicegroup.cpp:238
QExplicitlySharedDataPointer< KServiceGroup > Ptr
A shared data pointer for KServiceGroup.
Definition kservicegroup.h:60
QFlags< EntriesOption > EntriesOptions
Stores a combination of EntriesOption values.
Definition kservicegroup.h:210
QExplicitlySharedDataPointer< KSycocaEntry > Ptr
A shared data pointer for KSycocaEntry.
Definition ksycocaentry.h:54
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:58:26 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:58:26 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.