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);
EntriesOption
options for groupEntries and serviceEntries
QString caption()
Returns a text for the window caption.
Can be used to control the lifetime of an object that has derived QSharedData.
KServiceGroup represents a group of service, for example screensavers.
Base class for all Sycoca entries.
KSharedPtr< KSycocaEntry > SPtr
KSharedPtr< KServiceGroup > Ptr
This file is part of the KDE documentation.
Documentation copyright © 1996-2018 The KDE developers.
Generated on Sun Feb 11 2018 21:12:36 by
doxygen 1.8.14 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.