Public Member Functions |
Static Public Member Functions |
Protected Member Functions |
Protected Attributes |
Static Protected Attributes |
List of all members
KProtocolInfoFactory Class Reference
#include <kprotocolinfofactory.h>
Inherits KSycocaFactory.
Public Member Functions | |
KProtocolInfo * | findProtocol (const TQString &protocol) |
TQStringList | protocols () |
![]() | |
virtual KSycocaFactoryId | factoryId () const =0 |
int | offset () |
KSycocaEntryDict * | entryDict () |
virtual KSycocaEntry * | createEntry (const TQString &file, const char *resource)=0 |
virtual void | addEntry (KSycocaEntry *newEntry, const char *resource) |
void | removeEntry (KSycocaEntry *newEntry) |
virtual KSycocaEntry * | createEntry (int offset)=0 |
KSycocaEntry::List | allEntries () |
virtual void | save (TQDataStream &str) |
virtual void | saveHeader (TQDataStream &str) |
virtual const KSycocaResourceList * | resourceList () const |
Static Public Member Functions | |
static KProtocolInfoFactory * | self () |
Protected Member Functions | |
virtual KSycocaEntry * | createEntry (const TQString &, const char *) |
virtual KProtocolInfo * | createEntry (int offset) |
virtual void | virtual_hook (int id, void *data) |
![]() | |
KSycocaFactory (KSycocaFactoryId factory_id) | |
virtual void | virtual_hook (int id, void *data) |
Protected Attributes | |
TQMap< TQString, KProtocolInfo::Ptr > | m_cache |
![]() | |
int | m_sycocaDictOffset |
int | m_beginEntryOffset |
int | m_endEntryOffset |
TQDataStream * | m_str |
KSycocaResourceList * | m_resourceList |
KSycocaEntryDict * | m_entryDict |
KSycocaDict * | m_sycocaDict |
Static Protected Attributes | |
static KProtocolInfoFactory * | _self = 0 |
Additional Inherited Members | |
![]() | |
enum | KSycocaFactoryId |
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.
Member Function Documentation
TQStringList KProtocolInfoFactory::protocols | ( | ) |
Returns list of all known protocols.
- Returns
- a list of all protocols
Definition at line 66 of file kprotocolinfofactory.cpp.
|
inlinestatic |
The instance of the KProtocolInfoFactory.
- Returns
- the factory instance
Definition at line 48 of file kprotocolinfofactory.h.
The documentation for this class was generated from the following files: