KDED
KBuildServiceFactory Class Reference
Service factory for building ksycoca. More...
#include <kbuildservicefactory.h>
Public Member Functions | |
void | addEntry (KSycocaEntry *newEntry, const char *resource) |
virtual KService * | createEntry (int) |
virtual KSycocaEntry * | createEntry (const QString &file, const char *resource) |
KService * | findServiceByName (const QString &_name) |
KBuildServiceFactory (KSycocaFactory *serviceTypeFactory, KBuildServiceGroupFactory *serviceGroupFactory) | |
virtual void | save (QDataStream &str) |
virtual void | saveHeader (QDataStream &str) |
virtual | ~KBuildServiceFactory () |
Static Public Member Functions | |
static QStringList | resourceTypes () |
Detailed Description
Service factory for building ksycoca.
For internal use only.
Definition at line 35 of file kbuildservicefactory.h.
Constructor & Destructor Documentation
KBuildServiceFactory::KBuildServiceFactory | ( | KSycocaFactory * | serviceTypeFactory, | |
KBuildServiceGroupFactory * | serviceGroupFactory | |||
) |
KBuildServiceFactory::~KBuildServiceFactory | ( | ) | [virtual] |
Definition at line 55 of file kbuildservicefactory.cpp.
Member Function Documentation
void KBuildServiceFactory::addEntry | ( | KSycocaEntry * | newEntry, | |
const char * | resource | |||
) | [virtual] |
Add a new entry.
Reimplemented from KSycocaFactory.
Definition at line 228 of file kbuildservicefactory.cpp.
KSycocaEntry * KBuildServiceFactory::createEntry | ( | const QString & | file, | |
const char * | resource | |||
) | [virtual] |
Construct a KService from a config file.
Reimplemented from KServiceFactory.
Definition at line 67 of file kbuildservicefactory.cpp.
QStringList KBuildServiceFactory::resourceTypes | ( | ) | [static] |
Returns all resource types for this service factory.
Definition at line 50 of file kbuildservicefactory.cpp.
void KBuildServiceFactory::save | ( | QDataStream & | str | ) | [virtual] |
Write out service specific index files.
Reimplemented from KSycocaFactory.
Definition at line 112 of file kbuildservicefactory.cpp.
void KBuildServiceFactory::saveHeader | ( | QDataStream & | str | ) | [virtual] |
Write out header information.
Don't forget to call the parent first when you override this function.
Reimplemented from KSycocaFactory.
Definition at line 100 of file kbuildservicefactory.cpp.
The documentation for this class was generated from the following files: