akonadi
Akonadi::AgentFactoryBase Class Reference
A factory base class for in-process agents. More...
#include <agentfactory.h>
Inheritance diagram for Akonadi::AgentFactoryBase:

Public Slots | |
virtual QObject * | createInstance (const QString &identifier) const =0 |
Public Member Functions | |
AgentFactoryBase (const char *catalogName, QObject *parent=0) | |
Protected Member Functions | |
void | createComponentData (const QString &identifier) const |
Detailed Description
A factory base class for in-process agents.
- See also:
- AKONADI_AGENT_FACTORY()
- Since:
- 4.6
Definition at line 43 of file agentfactory.h.
Constructor & Destructor Documentation
AgentFactoryBase::AgentFactoryBase | ( | const char * | catalogName, |
QObject * | parent = 0 |
||
) | [explicit] |
Creates a new agent factory.
Executed in the main thread, performs KDE infrastructure setup.
- Parameters:
-
catalogName The translation catalog of this resource. parent The parent object.
Definition at line 42 of file agentfactory.cpp.
Member Function Documentation
virtual QObject* Akonadi::AgentFactoryBase::createInstance | ( | const QString & | identifier | ) | const [pure virtual, slot] |
Creates a new agent instace with the given identifier.
Implemented in Akonadi::AgentFactory< T >.
The documentation for this class was generated from the following files: