KDECore
Go to the documentation of this file.
19 #ifndef KSERVICEGROUP_H
20 #define KSERVICEGROUP_H
26 class KBuildServiceGroupFactory;
64 friend class KBuildServiceGroupFactory;
122 int childCount()
const;
129 bool noDisplay()
const;
135 bool showEmptyMenu()
const;
136 void setShowEmptyMenu(
bool b);
141 bool showInlineHeader()
const;
142 void setShowInlineHeader(
bool _b);
147 bool inlineAlias()
const;
148 void setInlineAlias(
bool _b);
152 bool allowInline()
const;
153 void setAllowInline(
bool _b);
158 int inlineValue()
const;
159 void setInlineValue(
int _val);
191 List entries(
bool sorted,
bool excludeNoDisplay,
bool allowSeparators,
bool sortByGenericName=
false);
192 List entries(
bool sorted,
bool excludeNoDisplay);
200 List entries(
bool sorted =
false);
209 ExcludeNoDisplay = 0x2,
210 AllowSeparators = 0x4,
211 SortByGenericName = 0x8
213 Q_DECLARE_FLAGS(EntriesOptions, EntriesOption)
218 QList<Ptr> groupEntries(EntriesOptions options = ExcludeNoDisplay);
223 KService::List serviceEntries(EntriesOptions options = ExcludeNoDisplay);
241 QString directoryEntryPath()
const;
252 #ifndef KDE_NO_DEPRECATED
253 static KDE_DEPRECATED Ptr baseGroup(
const QString &baseGroupName );
275 static Ptr childGroup(
const QString &parent);
KSharedPtr< KSycocaEntry > SPtr
Base class for all Sycoca entries.
QString caption()
Returns a text for the window caption.
KSharedPtr< KServiceGroup > Ptr
KServiceGroup represents a group of service, for example screensavers.
Can be used to control the lifetime of an object that has derived QSharedData.
EntriesOption
options for groupEntries and serviceEntries
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Thu Aug 27 2020 00:00:00 by
doxygen 1.8.20 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.