Search for usage in LXR

MailTransport::TransportType Class Reference

#include <transporttype.h>

Public Types

using List = QVector< TransportType >

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().

Constantin Berzan exit3[email protected][email protected][email protected]gmail[email protected].com

Definition at line 29 of file transporttype.h.

Member Typedef Documentation

Describes a list of transport types.

Definition at line 40 of file transporttype.h.

Constructor & Destructor Documentation

TransportType::TransportType ( )

Constructs a new TransportType.

Definition at line 12 of file transporttype.cpp.

TransportType::TransportType ( const TransportType other)

Creates a copy of the other TransportType.

Definition at line 17 of file transporttype.cpp.

TransportType::~TransportType ( )

Destroys the TransportType.

Definition at line 22 of file transporttype.cpp.

Member Function Documentation

QString TransportType::description ( ) const

Returns a description of the transport type.

Definition at line 49 of file transporttype.cpp.

QString TransportType::identifier ( ) const

Returns a plugin identifier.

Definition at line 54 of file transporttype.cpp.

bool TransportType::isValid ( ) const

Returns whether the transport type is valid.

Definition at line 39 of file transporttype.cpp.

QString TransportType::name ( ) const

Returns the i18n'ed name of the transport type.

Definition at line 44 of file transporttype.cpp.

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

Replaces the transport type by the other.

Definition at line 26 of file transporttype.cpp.

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

Compares the transport type with the other.

Definition at line 34 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-2021 The KDE developers.
Generated on Mon Sep 20 2021 23:21:01 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.