• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdepimlibs API Reference
  • KDE Home
  • Contact Us
 

akonadi

  • Akonadi
  • AgentType
Classes | Public Types | Public Member Functions | List of all members
Akonadi::AgentType Class Reference

#include <agenttype.h>

Classes

class  Private
 

Public Types

typedef QList< AgentType > List
 

Public Member Functions

 AgentType ()
 
 AgentType (const AgentType &other)
 
 ~AgentType ()
 
QStringList capabilities () const
 
QVariantMap customProperties () 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
 

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() << ")";
}
Author
Tobias Koenig tokoe.nosp@m.@kde.nosp@m..org

Definition at line 58 of file agenttype.h.

Member Typedef Documentation

typedef QList<AgentType> Akonadi::AgentType::List

Describes a list of agent types.

Definition at line 67 of file agenttype.h.

Constructor & Destructor Documentation

AgentType::AgentType ( )

Creates a new agent type.

Definition at line 27 of file agenttype.cpp.

AgentType::AgentType ( const AgentType &  other)

Creates an agent type from an other agent type.

Definition at line 32 of file agenttype.cpp.

AgentType::~AgentType ( )

Destroys the agent type.

Definition at line 37 of file agenttype.cpp.

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.

QVariantMap AgentType::customProperties ( ) const

Returns a Map of custom properties of the agent type.

Since
4.12

Definition at line 81 of file agenttype.cpp.

QString AgentType::description ( ) const

Returns the description of the agent type.

Definition at line 56 of file agenttype.cpp.

QIcon AgentType::icon ( ) const

Returns the icon of the agent type.

Definition at line 66 of file agenttype.cpp.

QString AgentType::iconName ( ) const

Returns the name of the icon of the agent type.

Definition at line 61 of file agenttype.cpp.

QString AgentType::identifier ( ) const

Returns the unique identifier of the agent type.

Definition at line 46 of file agenttype.cpp.

bool AgentType::isValid ( ) const

Returns whether the agent type is valid.

Definition at line 41 of file agenttype.cpp.

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

Returns the i18n'ed name of the agent type.

Definition at line 51 of file agenttype.cpp.

AgentType & AgentType::operator= ( const AgentType &  other)
Parameters
otherother agent type

Definition at line 86 of file agenttype.cpp.

bool AgentType::operator== ( const AgentType &  other) const
Parameters
otherother agent type

Definition at line 95 of file agenttype.cpp.


The documentation for this class was generated from the following files:
  • agenttype.h
  • agenttype.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:00:28 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

akonadi

Skip menu "akonadi"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • Modules
  • Related Pages

kdepimlibs API Reference

Skip menu "kdepimlibs API Reference"
  • akonadi
  •   contact
  •   kmime
  •   socialutils
  • kabc
  • kalarmcal
  • kblog
  • kcal
  • kcalcore
  • kcalutils
  • kholidays
  • kimap
  • kldap
  • kmbox
  • kmime
  • kpimidentities
  • kpimtextedit
  • kresources
  • ktnef
  • kxmlrpcclient
  • microblog

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal