Search for usage in LXR

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
Constantin Berzan exit3[email protected][email protected][email protected]gmail[email protected].com

Definition at line 26 of file transportattribute.h.

Constructor & Destructor Documentation

TransportAttribute::TransportAttribute ( int  id = -1)

Creates a new TransportAttribute.

Definition at line 20 of file transportattribute.cpp.

TransportAttribute::~TransportAttribute ( )

Destroys this TransportAttribute.

Definition at line 26 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 62 of file transportattribute.cpp.

Transport * TransportAttribute::transport ( ) const

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

See also

Definition at line 57 of file transportattribute.cpp.

int TransportAttribute::transportId ( ) const

Returns the transport id to use for sending this message.

See also

Definition at line 52 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-2021 The KDE developers.
Generated on Sun Jun 20 2021 23:18:46 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.