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

Member Typedef Documentation

◆ List

Describes a list of transport types.

Definition at line 41 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)

Creates a copy of the other TransportType.

◆ ~TransportType()

TransportType::~TransportType ( )

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.

◆ 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-2022 The KDE developers.
Generated on Tue Nov 29 2022 03:53:44 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.