kio
KServiceGroupFactory Class Reference
#include <kservicegroupfactory.h>
Inheritance diagram for KServiceGroupFactory:
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 | ( | ) |
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] |
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 | |||
) |
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: