• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdelibs-4.8.3 API Reference
  • KDE Home
  • Contact Us
 

KDED

Public Member Functions | Static Public Member Functions
KBuildServiceTypeFactory Class Reference

#include <kbuildservicetypefactory.h>

Inheritance diagram for KBuildServiceTypeFactory:
Inheritance graph
[legend]

List of all members.

Public Member Functions

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

Static Public Member Functions

static QStringList resourceTypes ()

Detailed Description

Service-type factory for building ksycoca.

Definition at line 30 of file kbuildservicetypefactory.h.


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.

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.

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

Reimplemented from KServiceTypeFactory.

Definition at line 51 of file kbuildservicetypefactory.h.

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
This file is part of the KDE documentation.
Documentation copyright © 1996-2012 The KDE developers.
Generated on Thu May 10 2012 20:58:33 by doxygen 1.8.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KDED

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

kdelibs-4.8.3 API Reference

Skip menu "kdelibs-4.8.3 API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal