KDED
#include <kbuildservicefactory.h>
Public Member Functions | |
KBuildServiceFactory (KSycocaFactory *serviceTypeFactory, KBuildMimeTypeFactory *mimeTypeFactory, KBuildServiceGroupFactory *serviceGroupFactory) | |
virtual | ~KBuildServiceFactory () |
virtual void | addEntry (const KSycocaEntry::Ptr &newEntry) |
virtual KSycocaEntry * | createEntry (const QString &file, const char *resource) const |
virtual KService * | createEntry (int) const |
virtual KService::Ptr | findServiceByDesktopName (const QString &name) |
virtual KService::Ptr | findServiceByDesktopPath (const QString &name) |
virtual KService::Ptr | findServiceByMenuId (const QString &menuId) |
void | postProcessServices () |
virtual void | save (QDataStream &str) |
virtual void | saveHeader (QDataStream &str) |
Public Member Functions inherited from KServiceFactory | |
KServiceFactory () | |
virtual | ~KServiceFactory () |
KService::List | allServices () |
KService::Ptr | findServiceByName (const QString &_name) |
bool | hasOffer (int serviceTypeOffset, int serviceOffersOffset, int testedServiceOffset) |
KServiceOfferList | offers (int serviceTypeOffset, int serviceOffersOffset) |
KService::List | serviceOffers (int serviceTypeOffset, int serviceOffersOffset) |
Static Public Member Functions | |
static QStringList | resourceTypes () |
Static Public Member Functions inherited from KServiceFactory | |
static KServiceFactory * | self () |
Additional Inherited Members | |
Protected Member Functions inherited from KServiceFactory | |
virtual void | virtual_hook (int id, void *data) |
Protected Attributes inherited from KServiceFactory | |
KSycocaDict * | m_menuIdDict |
int | m_menuIdDictOffset |
KSycocaDict * | m_nameDict |
int | m_nameDictOffset |
int | m_offerListOffset |
KSycocaDict * | m_relNameDict |
int | m_relNameDictOffset |
Detailed Description
Service factory for building ksycoca.
Definition at line 37 of file kbuildservicefactory.h.
Constructor & Destructor Documentation
KBuildServiceFactory::KBuildServiceFactory | ( | KSycocaFactory * | serviceTypeFactory, |
KBuildMimeTypeFactory * | mimeTypeFactory, | ||
KBuildServiceGroupFactory * | serviceGroupFactory | ||
) |
Create factory.
Definition at line 36 of file kbuildservicefactory.cpp.
|
virtual |
Definition at line 65 of file kbuildservicefactory.cpp.
Member Function Documentation
|
virtual |
Add a new entry.
Definition at line 381 of file kbuildservicefactory.cpp.
|
virtual |
Construct a KService from a config file.
Reimplemented from KServiceFactory.
Definition at line 85 of file kbuildservicefactory.cpp.
|
inlinevirtual |
Reimplemented from KServiceFactory.
Definition at line 61 of file kbuildservicefactory.h.
|
virtual |
Reimplemented from KServiceFactory.
Reimplemented from KServiceFactory.
Definition at line 70 of file kbuildservicefactory.cpp.
|
virtual |
Reimplemented from KServiceFactory.
Reimplemented from KServiceFactory.
Definition at line 75 of file kbuildservicefactory.cpp.
|
virtual |
Reimplemented from KServiceFactory.
Reimplemented from KServiceFactory.
Definition at line 80 of file kbuildservicefactory.cpp.
void KBuildServiceFactory::postProcessServices | ( | ) |
Definition at line 192 of file kbuildservicefactory.cpp.
|
static |
Returns all resource types for this service factory.
Definition at line 60 of file kbuildservicefactory.cpp.
|
virtual |
Write out service specific index files.
Definition at line 124 of file kbuildservicefactory.cpp.
|
virtual |
Write out header information.
Don't forget to call the parent first when you override this function.
Definition at line 114 of file kbuildservicefactory.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:51:14 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.