mailtransport
#include <transportattribute.h>
Inherits Attribute.
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.
- Since
- 4.4
Definition at line 40 of file transportattribute.h.
Constructor & Destructor Documentation
|
explicit |
Creates a new TransportAttribute.
Definition at line 35 of file transportattribute.cpp.
|
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:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:37:49 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.