MailTransport::TransportType

Search for usage in LXR

MailTransport::TransportType Class Reference

#include <transporttype.h>

Public Types

using List = QList<TransportType>
 

Properties

QString description
 
QString identifier
 
bool isAkonadiResource
 
bool isValid
 
QString name
 

Public Member Functions

 TransportType ()
 
 TransportType (const TransportType &other)
 
 ~TransportType ()
 
QString description () const
 
QString identifier () const
 
bool isAkonadiResource () const
 
bool isValid () const
 
QString name () const
 
TransportTypeoperator= (const TransportType &other)
 
bool operator== (const TransportType &other) const
 

Detailed Description

A representation of a transport type.

Represents an available transport type. SMTP is available

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 30 of file transporttype.h.

Member Typedef Documentation

◆ List

Describes a list of transport types.

Definition at line 58 of file transporttype.h.

Property Documentation

◆ description

QString MailTransport::TransportType::description
read

This property holds the transport type.

Definition at line 41 of file transporttype.h.

◆ identifier

QString MailTransport::TransportType::identifier
read

This property holds the plugin identifier.

Definition at line 44 of file transporttype.h.

◆ isAkonadiResource

bool MailTransport::TransportType::isAkonadiResource
read

This property holds whether this transport is an akonadi resource.

Definition at line 47 of file transporttype.h.

◆ isValid

bool MailTransport::TransportType::isValid
read

This property holds whether the transport type is valid.

Definition at line 35 of file transporttype.h.

◆ name

QString MailTransport::TransportType::name
read

This property holds the i18n'ed name of the transport type.

Definition at line 38 of file transporttype.h.

Constructor & Destructor Documentation

◆ TransportType() [1/2]

TransportType::TransportType ( )

Constructs a new TransportType.

Definition at line 12 of file transporttype.cpp.

◆ TransportType() [2/2]

TransportType::TransportType ( const TransportType & other)
default

Creates a copy of the other TransportType.

◆ ~TransportType()

TransportType::~TransportType ( )
default

Destroys the TransportType.

Member Function Documentation

◆ description()

QString TransportType::description ( ) const

Returns a description of the transport type.

Definition at line 46 of file transporttype.cpp.

◆ identifier()

QString TransportType::identifier ( ) const

Returns a plugin identifier.

Definition at line 51 of file transporttype.cpp.

◆ isAkonadiResource()

bool TransportType::isAkonadiResource ( ) const

Returns whether this transport is an akonadi resource.

Definition at line 56 of file transporttype.cpp.

◆ isValid()

bool TransportType::isValid ( ) const

Returns whether the transport type is valid.

Definition at line 36 of file transporttype.cpp.

◆ name()

QString TransportType::name ( ) const

Returns the i18n'ed name of the transport type.

Definition at line 41 of file transporttype.cpp.

◆ operator=()

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

Replaces the transport type by the other.

Definition at line 23 of file transporttype.cpp.

◆ operator==()

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

Compares the transport type with the other.

Definition at line 31 of file transporttype.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:12:37 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.