# class AgentType

###

Module | akonadi
Namespace | Akonadi
Class | AgentType
Inherits |

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() << ")";
    }

Author Tobias Koenig <tokoe@kde.org>

### methods

- AgentType ( )

  returns ctor

  Creates a new agent type.

- AgentType (other)

  returns ctor

  Argument | Type | Default
  --- | --- | ---
  other | Akonadi.AgentType |

  Creates an agent type from an other agent type.

- capabilities ( )

  returns QStringList

  Returns the list of supported capabilities of the agent type.

- description ( )

  returns QString

  Returns the description of the agent type.

- icon ( )

  returns QIcon

  Returns the icon of the agent type.

- iconName ( )

  returns QString

  Returns the name of the icon of the agent type.

- identifier ( )

  returns QString

  Returns the unique identifier of the agent type.

- isValid ( )

  returns bool

  Returns whether the agent type is valid.

- mimeTypes ( )

  returns QStringList

  Returns the list of supported mime types of the agent type.

- name ( )

  returns QString

  Returns the i18n'ed name of the agent type.

- operator == (other)

  returns bool

  Argument | Type | Default
  --- | --- | ---
  other | Akonadi.AgentType |

  Internal