KDED
KBuildServiceTypeFactory Class Reference
Service-type factory for building ksycoca. More...
#include <kbuildservicetypefactory.h>

Public Member Functions | |
virtual void | addEntry (const KSycocaEntry::Ptr &newEntry) |
virtual KServiceType * | createEntry (int) const |
virtual KSycocaEntry * | createEntry (const QString &file, const char *resource) const |
virtual KServiceType::Ptr | findServiceTypeByName (const QString &_name) |
KBuildServiceTypeFactory () | |
virtual void | save (QDataStream &str) |
virtual void | saveHeader (QDataStream &str) |
virtual | ~KBuildServiceTypeFactory () |
Static Public Member Functions | |
static QStringList | resourceTypes () |
Detailed Description
Service-type factory for building ksycoca.
For internal use only.
Definition at line 30 of file kbuildservicetypefactory.h.
Constructor & Destructor Documentation
KBuildServiceTypeFactory::KBuildServiceTypeFactory | ( | ) |
KBuildServiceTypeFactory::~KBuildServiceTypeFactory | ( | ) | [virtual] |
Definition at line 47 of file kbuildservicetypefactory.cpp.
Member Function Documentation
void KBuildServiceTypeFactory::addEntry | ( | const KSycocaEntry::Ptr & | newEntry | ) | [virtual] |
virtual KServiceType* KBuildServiceTypeFactory::createEntry | ( | int | ) | const [inline, virtual] |
Definition at line 51 of file kbuildservicetypefactory.h.
KSycocaEntry * KBuildServiceTypeFactory::createEntry | ( | const QString & | file, | |
const char * | resource | |||
) | const [virtual] |
Construct a KServiceType from a config file.
Definition at line 61 of file kbuildservicetypefactory.cpp.
KServiceType::Ptr KBuildServiceTypeFactory::findServiceTypeByName | ( | const QString & | _name | ) | [virtual] |
Find a service type in the database file.
- Returns:
- a pointer to the servicetype in the memory dict (don't free!)
Definition at line 52 of file kbuildservicetypefactory.cpp.
QStringList KBuildServiceTypeFactory::resourceTypes | ( | ) | [static] |
Returns all resource types for this factory.
Definition at line 42 of file kbuildservicetypefactory.cpp.
void KBuildServiceTypeFactory::save | ( | QDataStream & | str | ) | [virtual] |
Write out service type specific index files.
Definition at line 118 of file kbuildservicetypefactory.cpp.
void KBuildServiceTypeFactory::saveHeader | ( | QDataStream & | str | ) | [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: