KDECore
kservicetype.h
Go to the documentation of this file.
43class KDECORE_EXPORT KServiceType : public KSycocaEntry // TODO KDE5: inherit kshared, but move KSycocaEntry to Private
Definition kservicetype_p.h:29
static List allServiceTypes()
Returns a list of all the supported servicetypes.
Definition kservicetype.cpp:196
QString parentServiceType() const
If this service type inherits from another service type, return the name of the parent.
Definition kservicetype.cpp:131
bool isDerived() const
Checks whether this service type inherits another one.
Definition kservicetype.cpp:246
bool inherits(const QString &servTypeName) const
Checks whether this service type is or inherits from servTypeName.
Definition kservicetype.cpp:137
QStringList propertyDefNames() const
Returns the list of all property definitions for this servicetype.
Definition kservicetype.cpp:185
QMap< QString, QVariant::Type > propertyDefs() const
Definition kservicetype.cpp:252
QVariant::Type propertyDef(const QString &_name) const
Returns the type of the property definition with the given _name.
Definition kservicetype.cpp:178
KServiceType(KDesktopFile *config)
Construct a service type and take all information from a desktop file.
Definition kservicetype.cpp:46
QString desktopEntryPath() const
Returns the relative path to the desktop entry file responsible for this servicetype.
Definition kservicetype.cpp:240
static Ptr serviceType(const QString &_name)
Returns a pointer to the servicetype '_name' or 0L if the service type is unknown.
Definition kservicetype.cpp:191
QString comment() const
Returns the descriptive comment associated, if any.
Definition kservicetype.cpp:232
void setServiceOffersOffset(int offset)
Definition kservicetype.cpp:219
Definition kaboutdata.h:33
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Tue Mar 25 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Tue Mar 25 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.