KServiceGroupFactory Class Reference
Inheritance diagram for KServiceGroupFactory:

Public Member Functions | |
KServiceGroupFactory () | |
virtual | ~KServiceGroupFactory () |
virtual KSycocaEntry * | createEntry (const QString &, const char *) |
KServiceGroup * | findGroupByDesktopPath (const QString &_name, bool deep=true) |
KServiceGroup * | findBaseGroup (const QString &_baseGroupName, bool deep=true) |
Static Public Member Functions | |
static KServiceGroupFactory * | self () |
Protected Member Functions | |
KServiceGroup * | createGroup (int offset, bool deep) |
KServiceGroup * | createEntry (int offset) |
virtual void | virtual_hook (int id, void *data) |
Protected Attributes | |
KSycocaDict * | m_baseGroupDict |
int | m_baseGroupDictOffset |
Detailed Description
Definition at line 36 of file kservicegroupfactory.h.
Constructor & Destructor Documentation
|
Create factory.
Definition at line 32 of file kservicegroupfactory.cpp. References QDataStream::device(), m_baseGroupDict, m_baseGroupDictOffset, and KSycocaFactory::m_str. Referenced by self(). |
Member Function Documentation
|
Construct a KServiceGroup from a config file.
Implements KSycocaFactory. Definition at line 49 of file kservicegroupfactory.h. |
|
Find a group ( by desktop path, e.g. "Applications/Editors") Definition at line 69 of file kservicegroupfactory.cpp. References createGroup(), KSycocaDict::find_string(), KSycocaFactory::m_sycocaDict, KSycocaFactory::offset(), and KServiceGroup::relPath(). Referenced by KServiceGroup::childGroup(), KServiceGroup::entries(), KServiceGroup::group(), KServiceGroup::load(), and KServiceGroup::root(). |
|
Find a base group by name, e.g. "settings" Definition at line 92 of file kservicegroupfactory.cpp. References KServiceGroup::baseGroupName(), createGroup(), KSycocaDict::find_string(), m_baseGroupDict, and KSycocaFactory::offset(). Referenced by KServiceGroup::baseGroup(). |
|
Definition at line 62 of file kservicegroupfactory.cpp. References KServiceGroupFactory(). Referenced by KServiceGroup::baseGroup(), KServiceGroup::childGroup(), KServiceGroup::entries(), KServiceGroup::group(), KServiceGroup::load(), and KServiceGroup::root(). |
The documentation for this class was generated from the following files: