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