Akonadi::AddressAttribute

Akonadi::AddressAttribute Class Reference

#include <addressattribute.h>

Inheritance diagram for Akonadi::AddressAttribute:

Public Member Functions

 AddressAttribute (const QString &from=QString(), const QStringList &to=QStringList(), const QStringList &cc=QStringList(), const QStringList &bcc=QStringList())
 
 ~AddressAttribute () override
 
QStringList bcc () const
 
QStringList cc () const
 
AddressAttributeclone () const override
 
void deserialize (const QByteArray &data) override
 
QString from () const
 
QByteArray serialized () const override
 
void setBcc (const QStringList &bcc)
 
void setCc (const QStringList &cc)
 
void setFrom (const QString &from)
 
void setTo (const QStringList &to)
 
QStringList to () const
 
QByteArray type () const override
 

Additional Inherited Members

- Public Types inherited from Akonadi::Attribute
typedef QList< Attribute * > List
 

Detailed Description

Attribute storing the From, To, Cc, Bcc addresses of a message.

Author
Constantin Berzan exit3[email protected][email protected][email protected]gmail[email protected].com
Since
4.4

Definition at line 24 of file addressattribute.h.

Constructor & Destructor Documentation

AddressAttribute::AddressAttribute ( const QString from = QString(),
const QStringList to = QStringList(),
const QStringList cc = QStringList(),
const QStringList bcc = QStringList() 
)
explicit

Creates a new AddressAttribute.

Definition at line 27 of file addressattribute.cpp.

AddressAttribute::~AddressAttribute ( )
override

Destroys the AddressAttribute.

Definition at line 36 of file addressattribute.cpp.

Member Function Documentation

QStringList AddressAttribute::bcc ( ) const

Returns the addresses of the "Bcc:" receivers.

Definition at line 104 of file addressattribute.cpp.

QStringList AddressAttribute::cc ( ) const

Returns the addresses of the "Cc:" receivers.

Definition at line 94 of file addressattribute.cpp.

QString AddressAttribute::from ( ) const

Returns the address of the sender.

Definition at line 74 of file addressattribute.cpp.

void AddressAttribute::setBcc ( const QStringList bcc)

Sets the addresses of the "Bcc:" receivers.

"

Parameters
bccaddresses of the recievers (CC)

Definition at line 109 of file addressattribute.cpp.

void AddressAttribute::setCc ( const QStringList cc)

Sets the addresses of the "Cc:" receivers.

"

Parameters
ccaddresses of the recievers (CC)

Definition at line 99 of file addressattribute.cpp.

void AddressAttribute::setFrom ( const QString from)

Sets the address of the sender.

Definition at line 79 of file addressattribute.cpp.

void AddressAttribute::setTo ( const QStringList to)

Sets the addresses of the "To: "receivers.

"

Parameters
toaddress of the receiver.

Definition at line 89 of file addressattribute.cpp.

QStringList AddressAttribute::to ( ) const

Returns the addresses of the "To:" receivers.

Definition at line 84 of file addressattribute.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Sat Jul 11 2020 23:08:01 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.