akonadi
#include <addressattribute.h>

Public Member Functions | |
AddressAttribute (const QString &from=QString(), const QStringList &to=QStringList(), const QStringList &cc=QStringList(), const QStringList &bcc=QStringList()) | |
virtual | ~AddressAttribute () |
QStringList | bcc () const |
QStringList | cc () const |
virtual AddressAttribute * | clone () const |
virtual void | deserialize (const QByteArray &data) |
QString | from () const |
virtual QByteArray | serialized () const |
void | setBcc (const QStringList &bcc) |
void | setCc (const QStringList &cc) |
void | setFrom (const QString &from) |
void | setTo (const QStringList &to) |
QStringList | to () const |
virtual QByteArray | type () const |
![]() | |
virtual | ~Attribute () |
Additional Inherited Members | |
![]() | |
typedef QList< Attribute * > | List |
Detailed Description
Attribute storing the From, To, Cc, Bcc addresses of a message.
- Since:
- 4.4
Definition at line 42 of file addressattribute.h.
Constructor & Destructor Documentation
|
explicit |
Creates a new AddressAttribute.
|
virtual |
Destroys the AddressAttribute.
Member Function Documentation
QStringList Akonadi::AddressAttribute::bcc | ( | ) | const |
Returns the addresses of the "Bcc:" receivers.
QStringList Akonadi::AddressAttribute::cc | ( | ) | const |
Returns the addresses of the "Cc:" receivers.
|
virtual |
Creates a copy of this attribute.
Implements Akonadi::Attribute.
|
virtual |
Sets the data of this attribute, using the same encoding as returned by toByteArray().
- Parameters:
-
data The encoded attribute data.
Implements Akonadi::Attribute.
QString Akonadi::AddressAttribute::from | ( | ) | const |
Returns the address of the sender.
|
virtual |
Returns a QByteArray representation of the attribute which will be storaged.
This can be raw binary data, no encoding needs to be applied.
Implements Akonadi::Attribute.
void Akonadi::AddressAttribute::setBcc | ( | const QStringList & | bcc | ) |
Sets the addresses of the "Bcc:" receivers.
"
void Akonadi::AddressAttribute::setCc | ( | const QStringList & | cc | ) |
Sets the addresses of the "Cc:" receivers.
"
void Akonadi::AddressAttribute::setFrom | ( | const QString & | from | ) |
Sets the address of the sender.
void Akonadi::AddressAttribute::setTo | ( | const QStringList & | to | ) |
Sets the addresses of the "To:" receivers.
"
QStringList Akonadi::AddressAttribute::to | ( | ) | const |
Returns the addresses of the "To:" receivers.
|
virtual |
Returns the type of the attribute.
Implements Akonadi::Attribute.
The documentation for this class was generated from the following file:
Documentation copyright © 1996-2012 The KDE developers.
Generated on Mon Sep 24 2012 09:06:29 by doxygen 1.8.1.1 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.