MailTransport::TransportAttribute

MailTransport::TransportAttribute Class Reference

#include <transportattribute.h>

Inheritance diagram for MailTransport::TransportAttribute:

Public Member Functions

 TransportAttribute (int id=-1)
 
 ~TransportAttribute () override
 
TransportAttributeclone () const override
 
void deserialize (const QByteArray &data) override
 
QByteArray serialized () const override
 
void setTransportId (int id)
 
Transporttransport () const
 
int transportId () const
 
QByteArray type () const override
 

Additional Inherited Members

- Public Types inherited from Akonadi::Attribute
typedef QList< Attribute * > List
 

Detailed Description

Attribute determining which transport to use for sending a message.

See also
mailtransport
TransportManager.
Author
Constantin Berzan exit3[email protected][email protected][email protected]gmail[email protected].com
Since
4.4

Definition at line 26 of file transportattribute.h.

Constructor & Destructor Documentation

TransportAttribute::TransportAttribute ( int  id = -1)
explicit

Creates a new TransportAttribute.

Definition at line 25 of file transportattribute.cpp.

TransportAttribute::~TransportAttribute ( )
override

Destroys this TransportAttribute.

Definition at line 31 of file transportattribute.cpp.

Member Function Documentation

void TransportAttribute::setTransportId ( int  id)

Sets the transport id to use for sending this message.

Definition at line 67 of file transportattribute.cpp.

Transport * TransportAttribute::transport ( ) const

Returns the transport object corresponding to the transport id contained in this attribute.

See also
Transport.

Definition at line 62 of file transportattribute.cpp.

int TransportAttribute::transportId ( ) const

Returns the transport id to use for sending this message.

See also
TransportManager.

Definition at line 57 of file transportattribute.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Sun Aug 2 2020 23:17:11 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.