#include <kbuildservicetypefactory.h>
Inherits KServiceTypeFactory.
Public Member Functions | |
KBuildServiceTypeFactory () | |
virtual KServiceType * | findServiceTypeByName (const TQString &_name) |
virtual KSycocaEntry * | createEntry (const TQString &file, const char *resource) |
virtual KServiceType * | createEntry (int) |
virtual 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-type factory for building tdesycoca.
Definition at line 30 of file kbuildservicetypefactory.h.
Constructor & Destructor Documentation
◆ KBuildServiceTypeFactory()
KBuildServiceTypeFactory::KBuildServiceTypeFactory | ( | ) |
Create factory.
Definition at line 34 of file kbuildservicetypefactory.cpp.
Member Function Documentation
◆ addEntry()
|
virtual |
Add entry.
Definition at line 251 of file kbuildservicetypefactory.cpp.
◆ createEntry()
|
virtual |
Construct a KServiceType from a config file.
Definition at line 69 of file kbuildservicetypefactory.cpp.
◆ findServiceTypeByName()
|
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 57 of file kbuildservicetypefactory.cpp.
◆ resourceTypes()
|
static |
Returns all resource types for this service factory.
Definition at line 47 of file kbuildservicetypefactory.cpp.
◆ save()
|
virtual |
Write out service type specific index files.
Definition at line 149 of file kbuildservicetypefactory.cpp.
◆ saveHeader()
|
virtual |
Write out header information.
Don't forget to call the parent first when you override this function.
Definition at line 133 of file kbuildservicetypefactory.cpp.
The documentation for this class was generated from the following files: