Akonadi::TransportAttribute

Search for usage in LXR

Akonadi::TransportAttribute Class Reference

#include <transportattribute.h>

Inheritance diagram for Akonadi::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)
 
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.nosp@m.219@.nosp@m.gmail.nosp@m..com
Since
4.4

Definition at line 28 of file transportattribute.h.

Constructor & Destructor Documentation

◆ TransportAttribute()

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

Creates a new TransportAttribute.

Definition at line 17 of file transportattribute.cpp.

◆ ~TransportAttribute()

TransportAttribute::~TransportAttribute ( )
overridedefault

Destroys this TransportAttribute.

Member Function Documentation

◆ setTransportId()

void TransportAttribute::setTransportId ( int  id)

Sets the transport id to use for sending this message.

Definition at line 51 of file transportattribute.cpp.

◆ transportId()

int TransportAttribute::transportId ( ) const

Returns the transport id to use for sending this message.

See also
TransportManager.

Definition at line 46 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-2024 The KDE developers.
Generated on Thu Feb 15 2024 03:52:34 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.