KDECore
#include <kprotocolinfofactory.h>
Public Member Functions | |
KProtocolInfoFactory () | |
virtual | ~KProtocolInfoFactory () |
KProtocolInfo::List | allProtocols () const |
KProtocolInfo::Ptr | findProtocol (const QString &protocol) |
QStringList | protocols () const |
Public Member Functions inherited from KSycocaFactory | |
virtual | ~KSycocaFactory () |
virtual void | addEntry (const KSycocaEntry::Ptr &newEntry) |
virtual KSycocaEntry::List | allEntries () const |
KSycocaEntryDict * | entryDict () |
virtual KSycocaFactoryId | factoryId () const =0 |
bool | isEmpty () const |
int | offset () const |
void | removeEntry (const QString &entryName) |
const KSycocaResourceList * | resourceList () const |
virtual void | save (QDataStream &str) |
virtual void | saveHeader (QDataStream &str) |
const KSycocaDict * | sycocaDict () const |
Static Public Member Functions | |
static KProtocolInfoFactory * | self () |
Protected Member Functions | |
virtual KSycocaEntry * | createEntry (const QString &, const char *) const |
virtual KProtocolInfo * | createEntry (int offset) const |
virtual void | virtual_hook (int id, void *data) |
Protected Member Functions inherited from KSycocaFactory | |
KSycocaFactory (KSycocaFactoryId factory_id) | |
QDataStream * | stream () const |
Additional Inherited Members | |
Protected Attributes inherited from KSycocaFactory | |
KSycocaEntryDict * | m_entryDict |
KSycocaResourceList * | m_resourceList |
Related Functions inherited from KSycocaFactory | |
enum | KSycocaFactoryId |
Detailed Description
Factory for KProtocolInfo.
KProtocolInfoFactory is a factory for getting KProtocolInfo. The factory is a singleton (only one instance can exist).
Exported for kbuildsycoca, but not installed.
Definition at line 43 of file kprotocolinfofactory.h.
Constructor & Destructor Documentation
KProtocolInfoFactory::KProtocolInfoFactory | ( | ) |
Definition at line 29 of file kprotocolinfofactory.cpp.
|
virtual |
Definition at line 34 of file kprotocolinfofactory.cpp.
Member Function Documentation
KProtocolInfo::List KProtocolInfoFactory::allProtocols | ( | ) | const |
- Returns
- all protocols
Definition at line 77 of file kprotocolinfofactory.cpp.
|
inlineprotectedvirtual |
|
protectedvirtual |
Implements KSycocaFactory.
Definition at line 41 of file kprotocolinfofactory.cpp.
KProtocolInfo::Ptr KProtocolInfoFactory::findProtocol | ( | const QString & | protocol | ) |
Definition at line 91 of file kprotocolinfofactory.cpp.
QStringList KProtocolInfoFactory::protocols | ( | ) | const |
Returns list of all known protocols.
- Returns
- a list of all protocols
Definition at line 63 of file kprotocolinfofactory.cpp.
|
static |
The instance of the KProtocolInfoFactory.
- Returns
- the factory instance
Definition at line 119 of file kprotocolinfofactory.cpp.
|
protectedvirtual |
Virtual hook, used to add new "virtual" functions while maintaining binary compatibility.
Unused in this class.
Reimplemented from KSycocaFactory.
Definition at line 116 of file kprotocolinfofactory.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:47:11 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.