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

KDED

KBuildServiceTypeFactory Class Reference

#include <kbuildservicetypefactory.h>

Inheritance diagram for KBuildServiceTypeFactory:

Inheritance graph
[legend]

List of all members.


Detailed Description

Service-type factory for building ksycoca.

Definition at line 30 of file kbuildservicetypefactory.h.


Public Member Functions

virtual void addEntry (const KSycocaEntry::Ptr &newEntry)
virtual KServiceType * createEntry (int) const
virtual KSycocaEntry * createEntry (const QString &file, const char *resource) const
virtual KServiceType::Ptr findServiceTypeByName (const QString &_name)
 KBuildServiceTypeFactory ()
virtual void save (QDataStream &str)
virtual void saveHeader (QDataStream &str)
virtual ~KBuildServiceTypeFactory ()

Static Public Member Functions

static QStringList resourceTypes ()

Constructor & Destructor Documentation

KBuildServiceTypeFactory::KBuildServiceTypeFactory (  ) 

Create factory.

Definition at line 33 of file kbuildservicetypefactory.cpp.

KBuildServiceTypeFactory::~KBuildServiceTypeFactory (  )  [virtual]

Definition at line 47 of file kbuildservicetypefactory.cpp.


Member Function Documentation

void KBuildServiceTypeFactory::addEntry ( const KSycocaEntry::Ptr &  newEntry  )  [virtual]

Add entry.

Reimplemented from KSycocaFactory.

Definition at line 133 of file kbuildservicetypefactory.cpp.

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

Reimplemented from KServiceTypeFactory.

Definition at line 51 of file kbuildservicetypefactory.h.

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

Construct a KServiceType from a config file.

Reimplemented from KServiceTypeFactory.

Definition at line 61 of file kbuildservicetypefactory.cpp.

KServiceType::Ptr 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 52 of file kbuildservicetypefactory.cpp.

QStringList KBuildServiceTypeFactory::resourceTypes (  )  [static]

Returns all resource types for this factory.

Definition at line 42 of file kbuildservicetypefactory.cpp.

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

Write out service type specific index files.

Reimplemented from KSycocaFactory.

Definition at line 118 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 108 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

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • KIO
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • Kross
  • KUtils
  • Nepomuk
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.5.4
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