• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdepimlibs-4.14.10 API Reference
  • KDE Home
  • Contact Us
 

mailtransport

  • MailTransport
  • TransportAttribute
Public Member Functions | List of all members
MailTransport::TransportAttribute Class Reference

#include <transportattribute.h>

Inherits Akonadi::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.
Author
Constantin Berzan exit3.nosp@m.219@.nosp@m.gmail.nosp@m..com
Since
4.4

Definition at line 40 of file transportattribute.h.

Constructor & Destructor Documentation

◆ TransportAttribute()

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

Creates a new TransportAttribute.

Definition at line 35 of file transportattribute.cpp.

◆ ~TransportAttribute()

TransportAttribute::~TransportAttribute ( )
virtual

Destroys this TransportAttribute.

Definition at line 41 of file transportattribute.cpp.

Member Function Documentation

◆ clone()

TransportAttribute * TransportAttribute::clone ( ) const
virtual

Definition at line 46 of file transportattribute.cpp.

◆ deserialize()

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

Definition at line 62 of file transportattribute.cpp.

◆ serialized()

QByteArray TransportAttribute::serialized ( ) const
virtual

Definition at line 57 of file transportattribute.cpp.

◆ setTransportId()

void TransportAttribute::setTransportId ( int  id)

Sets the transport id to use for sending this message.

Definition at line 77 of file transportattribute.cpp.

◆ transport()

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.

◆ transportId()

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.

◆ type()

QByteArray TransportAttribute::type ( ) const
virtual

Definition at line 51 of file transportattribute.cpp.


The documentation for this class was generated from the following files:
  • transportattribute.h
  • transportattribute.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Thu Jul 21 2022 00:00:00 by doxygen 1.9.5 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

mailtransport

Skip menu "mailtransport"
  • Main Page
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • Related Pages

kdepimlibs-4.14.10 API Reference

Skip menu "kdepimlibs-4.14.10 API Reference"
  • akonadi
  •   contact
  •   kmime
  •   socialutils
  • kabc
  • kalarmcal
  • kblog
  • kcal
  • kcalcore
  • kcalutils
  • kholidays
  • kimap
  • kioslave
  •   imap4
  •   mbox
  •   nntp
  • kldap
  • kmbox
  • kmime
  • kontactinterface
  • kpimidentities
  • kpimtextedit
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • microblog
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2
Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal