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

mailtransport

  • MailTransport
  • TransportType
Classes | Public Types | Public Member Functions | List of all members
MailTransport::TransportType Class Reference

#include <transporttype.h>

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 exit3.nosp@m.219@.nosp@m.gmail.nosp@m..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

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
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Sat Jul 13 2013 01:26:54 by doxygen 1.8.3.1 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

mailtransport

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

kdepimlibs-4.10.5 API Reference

Skip menu "kdepimlibs-4.10.5 API Reference"
  • akonadi
  •   contact
  •   kmime
  •   socialutils
  • kabc
  • kalarmcal
  • kblog
  • kcal
  • kcalcore
  • kcalutils
  • kholidays
  • kimap
  • kioslave
  •   imap4
  •   mbox
  •   nntp
  • kldap
  • kmbox
  • kmime
  • kontactinterface
  • kpimidentities
  • kpimtextedit
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • microblog
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2
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