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

kio

KServiceGroupFactory Class Reference

#include <kservicegroupfactory.h>

Inheritance diagram for KServiceGroupFactory:

Inheritance graph
[legend]

List of all members.


Public Member Functions

virtual KSycocaEntry * createEntry (const QString &, const char *)
KServiceGroup * findBaseGroup (const QString &_baseGroupName, bool deep=true)
KServiceGroup * findGroupByDesktopPath (const QString &_name, bool deep=true)
 KServiceGroupFactory ()
virtual ~KServiceGroupFactory ()

Static Public Member Functions

static KServiceGroupFactory * self ()

Protected Member Functions

KServiceGroup * createEntry (int offset)
KServiceGroup * createGroup (int offset, bool deep)
virtual void virtual_hook (int id, void *data)

Protected Attributes

KSycocaDict * m_baseGroupDict
int m_baseGroupDictOffset

Detailed Description

For internal use only.

A sycoca factory for service groups (e.g. list of applications) It loads the services from parsing directories (e.g. applnk/)

Definition at line 36 of file kservicegroupfactory.h.


Constructor & Destructor Documentation

KServiceGroupFactory::KServiceGroupFactory (  ) 

Create factory.

Definition at line 32 of file kservicegroupfactory.cpp.

KServiceGroupFactory::~KServiceGroupFactory (  )  [virtual]

Definition at line 56 of file kservicegroupfactory.cpp.


Member Function Documentation

KServiceGroup * KServiceGroupFactory::createEntry ( int  offset  )  [protected]

Definition at line 139 of file kservicegroupfactory.cpp.

virtual KSycocaEntry* KServiceGroupFactory::createEntry ( const QString &  ,
const char *   
) [inline, virtual]

Construct a KServiceGroup from a config file.

Definition at line 49 of file kservicegroupfactory.h.

KServiceGroup * KServiceGroupFactory::createGroup ( int  offset,
bool  deep 
) [protected]

Definition at line 115 of file kservicegroupfactory.cpp.

KServiceGroup * KServiceGroupFactory::findBaseGroup ( const QString &  _baseGroupName,
bool  deep = true 
)

Find a base group by name, e.g.

"settings"

Definition at line 92 of file kservicegroupfactory.cpp.

KServiceGroup * KServiceGroupFactory::findGroupByDesktopPath ( const QString &  _name,
bool  deep = true 
)

Find a group ( by desktop path, e.g.

"Applications/Editors")

Definition at line 69 of file kservicegroupfactory.cpp.

KServiceGroupFactory * KServiceGroupFactory::self (  )  [static]

Returns:
the unique service group factory, creating it if necessary

Definition at line 62 of file kservicegroupfactory.cpp.

void KServiceGroupFactory::virtual_hook ( int  id,
void *  data 
) [protected, virtual]

Definition at line 146 of file kservicegroupfactory.cpp.


Member Data Documentation

KSycocaDict* KServiceGroupFactory::m_baseGroupDict [protected]

Definition at line 69 of file kservicegroupfactory.h.

int KServiceGroupFactory::m_baseGroupDictOffset [protected]

Definition at line 70 of file kservicegroupfactory.h.


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

kio

Skip menu "kio"
  • Main Page
  • Modules
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • 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