KDED
#include <kbuildservicetypefactory.h>
Public Member Functions | |
KBuildServiceTypeFactory () | |
virtual | ~KBuildServiceTypeFactory () |
virtual void | addEntry (const KSycocaEntry::Ptr &newEntry) |
virtual KSycocaEntry * | createEntry (const QString &file, const char *resource) const |
virtual KServiceType * | createEntry (int) const |
virtual KServiceType::Ptr | findServiceTypeByName (const QString &_name) |
virtual void | save (QDataStream &str) |
virtual void | saveHeader (QDataStream &str) |
Public Member Functions inherited from KServiceTypeFactory | |
KServiceTypeFactory () | |
virtual | ~KServiceTypeFactory () |
KServiceType::List | allServiceTypes () |
QVariant::Type | findPropertyTypeByName (const QString &_name) |
Static Public Member Functions | |
static QStringList | resourceTypes () |
Static Public Member Functions inherited from KServiceTypeFactory | |
static KServiceTypeFactory * | self () |
Additional Inherited Members | |
Protected Member Functions inherited from KServiceTypeFactory | |
virtual void | virtual_hook (int id, void *data) |
Protected Attributes inherited from KServiceTypeFactory | |
QMap< QString, int > | m_propertyTypeDict |
Detailed Description
Service-type factory for building ksycoca.
Definition at line 30 of file kbuildservicetypefactory.h.
Constructor & Destructor Documentation
KBuildServiceTypeFactory::KBuildServiceTypeFactory | ( | ) |
Create factory.
Definition at line 33 of file kbuildservicetypefactory.cpp.
|
virtual |
Definition at line 47 of file kbuildservicetypefactory.cpp.
Member Function Documentation
|
virtual |
Add entry.
Definition at line 133 of file kbuildservicetypefactory.cpp.
|
virtual |
Construct a KServiceType from a config file.
Reimplemented from KServiceTypeFactory.
Definition at line 61 of file kbuildservicetypefactory.cpp.
|
inlinevirtual |
Reimplemented from KServiceTypeFactory.
Definition at line 51 of file kbuildservicetypefactory.h.
|
virtual |
Find a service type in the database file.
- Returns
- a pointer to the servicetype in the memory dict (don't free!)
Reimplemented from KServiceTypeFactory.
Definition at line 52 of file kbuildservicetypefactory.cpp.
|
static |
Returns all resource types for this factory.
Definition at line 42 of file kbuildservicetypefactory.cpp.
|
virtual |
Write out service type specific index files.
Definition at line 118 of file kbuildservicetypefactory.cpp.
|
virtual |
Write out header information.
Don't forget to call the parent first when you override this function.
Definition at line 108 of file kbuildservicetypefactory.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:26:11 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.