KDECore
KProtocolInfoFactory Class Reference
KProtocolInfoFactory is a factory for getting KProtocolInfo. More...
#include <kprotocolinfofactory.h>
Public Member Functions | |
KProtocolInfo * | findProtocol (const QString &protocol) |
KProtocolInfoFactory () | |
QStringList | protocols () |
virtual | ~KProtocolInfoFactory () |
Static Public Member Functions | |
static KProtocolInfoFactory * | self () |
Protected Member Functions | |
virtual KProtocolInfo * | createEntry (int offset) |
virtual KSycocaEntry * | createEntry (const QString &, const char *) |
virtual void | virtual_hook (int id, void *data) |
Protected Attributes | |
QMap< QString, KProtocolInfo::Ptr > | m_cache |
Static Protected Attributes | |
static KProtocolInfoFactory * | _self = 0 |
Detailed Description
KProtocolInfoFactory is a factory for getting KProtocolInfo.The factory is a singleton (only one instance can exist).
Factory for KProtocolInfo
Definition at line 40 of file kprotocolinfofactory.h.
Constructor & Destructor Documentation
KProtocolInfoFactory::KProtocolInfoFactory | ( | ) |
KProtocolInfoFactory::~KProtocolInfoFactory | ( | ) | [virtual] |
Definition at line 37 of file kprotocolinfofactory.cpp.
Member Function Documentation
KProtocolInfo * KProtocolInfoFactory::createEntry | ( | int | offset | ) | [protected, virtual] |
For internal use only.
Implements KSycocaFactory.
Definition at line 44 of file kprotocolinfofactory.cpp.
virtual KSycocaEntry* KProtocolInfoFactory::createEntry | ( | const QString & | , | |
const char * | ||||
) | [inline, protected, virtual] |
For internal use only.
Not used.
Implements KSycocaFactory.
Definition at line 73 of file kprotocolinfofactory.h.
KProtocolInfo * KProtocolInfoFactory::findProtocol | ( | const QString & | protocol | ) |
Definition at line 85 of file kprotocolinfofactory.cpp.
QStringList KProtocolInfoFactory::protocols | ( | ) |
Returns list of all known protocols.
- Returns:
- a list of all protocols
Definition at line 66 of file kprotocolinfofactory.cpp.
static KProtocolInfoFactory* KProtocolInfoFactory::self | ( | ) | [inline, static] |
The instance of the KProtocolInfoFactory.
- Returns:
- the factory instance
Definition at line 48 of file kprotocolinfofactory.h.
void KProtocolInfoFactory::virtual_hook | ( | int | id, | |
void * | data | |||
) | [protected, virtual] |
Member Data Documentation
KProtocolInfoFactory * KProtocolInfoFactory::_self = 0 [static, protected] |
Definition at line 82 of file kprotocolinfofactory.h.
QMap<QString,KProtocolInfo::Ptr> KProtocolInfoFactory::m_cache [protected] |
Definition at line 84 of file kprotocolinfofactory.h.
The documentation for this class was generated from the following files: