MailTransport::TransportType
#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 |
TransportType & | operator= (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().
- 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
|
read |
This property holds the transport type.
Definition at line 41 of file transporttype.h.
◆ identifier
|
read |
This property holds the plugin identifier.
Definition at line 44 of file transporttype.h.
◆ isAkonadiResource
|
read |
This property holds whether this transport is an akonadi resource.
Definition at line 47 of file transporttype.h.
◆ isValid
|
read |
This property holds whether the transport type is valid.
Definition at line 35 of file transporttype.h.
◆ 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]
|
default |
Creates a copy of the other
TransportType.
◆ ~TransportType()
|
default |
Destroys the TransportType.
Member Function Documentation
◆ description()
|
nodiscard |
Returns a description of the transport type.
Definition at line 46 of file transporttype.cpp.
◆ identifier()
|
nodiscard |
Returns a plugin identifier.
Definition at line 51 of file transporttype.cpp.
◆ isAkonadiResource()
|
nodiscard |
Returns whether this transport is an akonadi resource.
Definition at line 56 of file transporttype.cpp.
◆ isValid()
|
nodiscard |
Returns whether the transport type is valid.
Definition at line 36 of file transporttype.cpp.
◆ name()
|
nodiscard |
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==()
|
nodiscard |
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:
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Feb 14 2025 11:58:39 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.