akonadi
Akonadi::AgentType Class Reference
#include <agenttype.h>
Detailed Description
A representation of an agent type.The agent type is a representation of an available agent, that can be started as an agent instance. It provides all information about the type.
All available agent types can be retrieved from the AgentManager.
Akonadi::AgentType::List types = Akonadi::AgentManager::self()->types(); foreach ( const Akonadi::AgentType &type, types ) { qDebug() << "Name:" << type.name() << "(" << type.identifier() << ")"; }
Definition at line 56 of file agenttype.h.
Public Types | |
typedef QList< AgentType > | List |
Public Member Functions | |
AgentType (const AgentType &other) | |
AgentType () | |
QStringList | capabilities () const |
QString | description () const |
QIcon | icon () const |
QString | iconName () const |
QString | identifier () const |
bool | isValid () const |
QStringList | mimeTypes () const |
QString | name () const |
AgentType & | operator= (const AgentType &other) |
bool | operator== (const AgentType &other) const |
~AgentType () |
Member Typedef Documentation
typedef QList<AgentType> Akonadi::AgentType::List |
Constructor & Destructor Documentation
AgentType::AgentType | ( | ) |
AgentType::AgentType | ( | const AgentType & | other | ) |
AgentType::~AgentType | ( | ) |
Member Function Documentation
QStringList AgentType::capabilities | ( | ) | const |
Returns the list of supported capabilities of the agent type.
Definition at line 76 of file agenttype.cpp.
QString AgentType::description | ( | ) | const |
QIcon AgentType::icon | ( | ) | const |
QString AgentType::iconName | ( | ) | const |
QString AgentType::identifier | ( | ) | const |
bool AgentType::isValid | ( | ) | const |
QStringList AgentType::mimeTypes | ( | ) | const |
Returns the list of supported mime types of the agent type.
Definition at line 71 of file agenttype.cpp.
QString AgentType::name | ( | ) | const |
bool AgentType::operator== | ( | const AgentType & | other | ) | const |
The documentation for this class was generated from the following files: