Akonadi::AddressAttribute

Search for usage in LXR

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(), bool dsn=false)
 
 ~AddressAttribute () override
 
QStringList bcc () const
 
QStringList cc () const
 
AddressAttributeclone () const override
 
bool deliveryStatusNotification () const
 
void deserialize (const QByteArray &data) override
 
QString from () const
 
bool operator== (const AddressAttribute &other) const
 
QByteArray serialized () const override
 
void setBcc (const QStringList &bcc)
 
void setCc (const QStringList &cc)
 
void setDeliveryStatusNotification (bool b)
 
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 28 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(),
bool  dsn = false 
)
explicit

Creates a new AddressAttribute.

Definition at line 28 of file addressattribute.cpp.

AddressAttribute::~AddressAttribute ( )
overridedefault

Destroys the AddressAttribute.

Member Function Documentation

QStringList AddressAttribute::bcc ( ) const

Returns the addresses of the "Bcc:" receivers.

Definition at line 107 of file addressattribute.cpp.

QStringList AddressAttribute::cc ( ) const

Returns the addresses of the "Cc:" receivers.

Definition at line 97 of file addressattribute.cpp.

QString AddressAttribute::from ( ) const

Returns the address of the sender.

Definition at line 77 of file addressattribute.cpp.

void AddressAttribute::setBcc ( const QStringList bcc)

Sets the addresses of the "Bcc:" receivers.

"

Parameters
bccaddresses of the receivers (CC)

Definition at line 112 of file addressattribute.cpp.

void AddressAttribute::setCc ( const QStringList cc)

Sets the addresses of the "Cc:" receivers.

"

Parameters
ccaddresses of the receivers (CC)

Definition at line 102 of file addressattribute.cpp.

void AddressAttribute::setFrom ( const QString from)

Sets the address of the sender.

Definition at line 82 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 92 of file addressattribute.cpp.

QStringList AddressAttribute::to ( ) const

Returns the addresses of the "To:" receivers.

Definition at line 87 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-2021 The KDE developers.
Generated on Tue Oct 19 2021 23:11:53 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.