• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

KDED

KBuildServiceTypeFactory Class Reference

Service-type factory for building ksycoca. More...

#include <kbuildservicetypefactory.h>

Inheritance diagram for KBuildServiceTypeFactory:

Inheritance graph
[legend]

List of all members.


Public Member Functions

virtual void addEntry (KSycocaEntry *newEntry, const char *resource)
virtual KServiceType * createEntry (int)
virtual KSycocaEntry * createEntry (const QString &file, const char *resource)
virtual KServiceType * 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 (  ) 

Create factory.

Definition at line 34 of file kbuildservicetypefactory.cpp.

KBuildServiceTypeFactory::~KBuildServiceTypeFactory (  )  [virtual]

Definition at line 52 of file kbuildservicetypefactory.cpp.


Member Function Documentation

void KBuildServiceTypeFactory::addEntry ( KSycocaEntry *  newEntry,
const char *  resource 
) [virtual]

Add entry.

Reimplemented from KSycocaFactory.

Definition at line 245 of file kbuildservicetypefactory.cpp.

virtual KServiceType* KBuildServiceTypeFactory::createEntry ( int   )  [inline, virtual]

Reimplemented from KServiceTypeFactory.

Definition at line 51 of file kbuildservicetypefactory.h.

KSycocaEntry * KBuildServiceTypeFactory::createEntry ( const QString &  file,
const char *  resource 
) [virtual]

Construct a KServiceType from a config file.

Reimplemented from KServiceTypeFactory.

Definition at line 69 of file kbuildservicetypefactory.cpp.

KServiceType * 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!)

Reimplemented from KServiceTypeFactory.

Definition at line 57 of file kbuildservicetypefactory.cpp.

QStringList KBuildServiceTypeFactory::resourceTypes (  )  [static]

Returns all resource types for this service factory.

Definition at line 47 of file kbuildservicetypefactory.cpp.

void KBuildServiceTypeFactory::save ( QDataStream &  str  )  [virtual]

Write out service type specific index files.

Reimplemented from KSycocaFactory.

Definition at line 143 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.

Reimplemented from KSycocaFactory.

Definition at line 127 of file kbuildservicetypefactory.cpp.


The documentation for this class was generated from the following files:
  • kbuildservicetypefactory.h
  • kbuildservicetypefactory.cpp

KDED

Skip menu "KDED"
  • Main Page
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

API Reference

Skip menu "API Reference"
  • dcop
  • DNSSD
  • interfaces
  • Kate
  • kconf_update
  • KDECore
  • KDED
  • kdefx
  • KDEsu
  • kdeui
  • KDocTools
  • KHTML
  • KImgIO
  • KInit
  • kio
  • kioslave
  • KJS
  • KNewStuff
  • KParts
  • KUtils
Generated for API Reference by doxygen 1.5.9
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal