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

◆ clone()

TransportAttribute * TransportAttribute::clone ( ) const
overridevirtual

Implements Akonadi::Attribute.

Definition at line 25 of file transportattribute.cpp.

◆ deserialize()

void TransportAttribute::deserialize ( const QByteArray & data)
overridevirtual

Implements Akonadi::Attribute.

Definition at line 41 of file transportattribute.cpp.

◆ serialized()

QByteArray TransportAttribute::serialized ( ) const
nodiscardoverridevirtual

Implements Akonadi::Attribute.

Definition at line 36 of file transportattribute.cpp.

◆ 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
nodiscard

Returns the transport id to use for sending this message.

See also
TransportManager.

Definition at line 46 of file transportattribute.cpp.

◆ type()

QByteArray TransportAttribute::type ( ) const
nodiscardoverridevirtual

Implements Akonadi::Attribute.

Definition at line 30 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 Fri Jul 19 2024 11:59:04 by doxygen 1.11.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.