• Skip to content
  • Skip to link menu
KDE 4.5 API Reference
  • KDE API Reference
  • KDE-PIM Libraries
  • Sitemap
  • Contact Us
 

mailtransport

  • MailTransport
  • MailTransport::TransportType
Classes | Public Types | Public Member Functions

MailTransport::TransportType Class Reference

A representation of a transport type. More...

#include <transporttype.h>

List of all members.

Classes

class  Private

Public Types

typedef QList< TransportType > List

Public Member Functions

 TransportType ()
 TransportType (const TransportType &other)
 ~TransportType ()
Akonadi::AgentType agentType () const
QString description () const
bool isValid () const
QString name () const
TransportType & operator= (const TransportType &other)
bool operator== (const TransportType &other) const
TransportBase::EnumType::type type () const

Detailed Description

A representation of a transport type.

Represents an available transport type. SMTP and Sendmail are available, as well as a number of Akonadi-based types. Each Akonadi-based type corresponds to an Akonadi resource type that supports sending messages.

This class provides information about the type, such as name and description. Additionally, for Akonadi types, it provides the corresponding Akonadi AgentType.

All available transport types can be retrieved via TransportManager::types().

Author:
Constantin Berzan <exit3219@gmail.com>
Since:
4.4

Definition at line 51 of file transporttype.h.


Member Typedef Documentation

typedef QList<TransportType> MailTransport::TransportType::List

Describes a list of transport types.

Definition at line 62 of file transporttype.h.


Constructor & Destructor Documentation

TransportType::TransportType (  ) 

Constructs a new TransportType.

Definition at line 28 of file transporttype.cpp.

TransportType::TransportType ( const TransportType &  other  ) 

Creates a copy of the other TransportType.

Definition at line 33 of file transporttype.cpp.

TransportType::~TransportType (  ) 

Destroys the TransportType.

Definition at line 38 of file transporttype.cpp.


Member Function Documentation

Akonadi::AgentType TransportType::agentType (  )  const

Returns the corresponding Akonadi::AgentType that this transport type represents.

Only valid if type() is Transport::EnumType::Akonadi.

Definition at line 86 of file transporttype.cpp.

QString TransportType::description (  )  const

Returns a description of the transport type.

Definition at line 81 of file transporttype.cpp.

bool TransportType::isValid (  )  const

Returns whether the transport type is valid.

Definition at line 59 of file transporttype.cpp.

QString TransportType::name (  )  const

Returns the i18n'ed name of the transport type.

Definition at line 76 of file transporttype.cpp.

TransportType & TransportType::operator= ( const TransportType &  other  ) 

Replaces the transport type by the other.

Definition at line 42 of file transporttype.cpp.

bool TransportType::operator== ( const TransportType &  other  )  const

Compares the transport type with the other.

Definition at line 50 of file transporttype.cpp.

TransportBase::EnumType::type TransportType::type (  )  const

For internal use only.

Returns the type of the transport.

Definition at line 71 of file transporttype.cpp.


The documentation for this class was generated from the following files:
  • transporttype.h
  • transporttype.cpp

mailtransport

Skip menu "mailtransport"
  • Main Page
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

KDE-PIM Libraries

Skip menu "KDE-PIM Libraries"
  • akonadi
  •   contact
  •   kmime
  • kabc
  • kblog
  • kcal
  • kholidays
  • kimap
  • kioslave
  •   imap4
  •   mbox
  •   nntp
  • kldap
  • kmime
  • kontactinterface
  • kpimidentities
  • kpimtextedit
  •   richtextbuilders
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • microblog
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2
Generated for KDE-PIM Libraries by doxygen 1.7.1
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal