• 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
KBuildServiceFactory Class Reference

#include <kbuildservicefactory.h>

Inheritance diagram for KBuildServiceFactory:
Inheritance graph
[legend]

List of all members.

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)

Static Public Member Functions

static QStringList resourceTypes ()

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.

KBuildServiceFactory::~KBuildServiceFactory ( ) [virtual]

Definition at line 65 of file kbuildservicefactory.cpp.


Member Function Documentation

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

Add a new entry.

Reimplemented from KSycocaFactory.

Definition at line 367 of file kbuildservicefactory.cpp.

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

Construct a KService from a config file.

Reimplemented from KServiceFactory.

Definition at line 85 of file kbuildservicefactory.cpp.

virtual KService* KBuildServiceFactory::createEntry ( int  ) const [inline, virtual]

Reimplemented from KServiceFactory.

Definition at line 61 of file kbuildservicefactory.h.

KService::Ptr KBuildServiceFactory::findServiceByDesktopName ( const QString &  name) [virtual]

Reimplemented from KServiceFactory.

Reimplemented from KServiceFactory.

Definition at line 70 of file kbuildservicefactory.cpp.

KService::Ptr KBuildServiceFactory::findServiceByDesktopPath ( const QString &  name) [virtual]

Reimplemented from KServiceFactory.

Reimplemented from KServiceFactory.

Definition at line 75 of file kbuildservicefactory.cpp.

KService::Ptr KBuildServiceFactory::findServiceByMenuId ( const QString &  menuId) [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.

QStringList KBuildServiceFactory::resourceTypes ( ) [static]

Returns all resource types for this service factory.

Definition at line 60 of file kbuildservicefactory.cpp.

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

Write out service specific index files.

Reimplemented from KSycocaFactory.

Definition at line 124 of file kbuildservicefactory.cpp.

void KBuildServiceFactory::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 114 of file kbuildservicefactory.cpp.


The documentation for this class was generated from the following files:
  • kbuildservicefactory.h
  • kbuildservicefactory.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2012 The KDE developers.
Generated on Wed May 2 2012 18:49:48 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