MailTransport::TransportAttribute Class Reference

Attribute determining which transport to use for sending a message. More...

#include <transportattribute.h>

Inherits Akonadi::Attribute.

List of all members.

Public Member Functions

 TransportAttribute (int id=-1)
virtual ~TransportAttribute ()
virtual TransportAttribute * clone () const
virtual void deserialize (const QByteArray &data)
virtual QByteArray serialized () const
void setTransportId (int id)
Transport * transport () const
int transportId () const
virtual QByteArray type () const

Detailed Description

Attribute determining which transport to use for sending a message.

See also:
mailtransport
TransportManager.
Author:
Constantin Berzan <exit3219@gmail.com>
Since:
4.4

Definition at line 40 of file transportattribute.h.


Constructor & Destructor Documentation

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

Creates a new TransportAttribute.

Definition at line 35 of file transportattribute.cpp.

TransportAttribute::~TransportAttribute (  )  [virtual]

Destroys this TransportAttribute.

Definition at line 41 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 77 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 72 of file transportattribute.cpp.

int TransportAttribute::transportId (  )  const

Returns the transport id to use for sending this message.

See also:
TransportManager.

Definition at line 67 of file transportattribute.cpp.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys