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 |
Public Member Functions inherited from Akonadi::Attribute | |
virtual | ~Attribute () |
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.
- Since
- 4.4
Definition at line 42 of file addressattribute.h.
Constructor & Destructor Documentation
|
explicit |
Creates a new AddressAttribute.
Definition at line 42 of file addressattribute.cpp.
|
virtual |
Destroys the AddressAttribute.
Definition at line 52 of file addressattribute.cpp.
Member Function Documentation
QStringList AddressAttribute::bcc | ( | ) | const |
Returns the addresses of the "Bcc:" receivers.
Definition at line 120 of file addressattribute.cpp.
QStringList AddressAttribute::cc | ( | ) | const |
Returns the addresses of the "Cc:" receivers.
Definition at line 110 of file addressattribute.cpp.
|
virtual |
Creates a copy of this attribute.
Implements Akonadi::Attribute.
Definition at line 57 of file addressattribute.cpp.
|
virtual |
Sets the data of this attribute, using the same encoding as returned by toByteArray().
- Parameters
-
data The encoded attribute data.
Implements Akonadi::Attribute.
Definition at line 80 of file addressattribute.cpp.
QString AddressAttribute::from | ( | ) | const |
Returns the address of the sender.
Definition at line 90 of file addressattribute.cpp.
|
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.
Definition at line 68 of file addressattribute.cpp.
void AddressAttribute::setBcc | ( | const QStringList & | bcc | ) |
Sets the addresses of the "Bcc:" receivers.
"
- Parameters
-
bcc addresses of the recievers (CC)
Definition at line 125 of file addressattribute.cpp.
void AddressAttribute::setCc | ( | const QStringList & | cc | ) |
Sets the addresses of the "Cc:" receivers.
"
- Parameters
-
cc addresses of the recievers (CC)
Definition at line 115 of file addressattribute.cpp.
void AddressAttribute::setFrom | ( | const QString & | from | ) |
Sets the address of the sender.
Definition at line 95 of file addressattribute.cpp.
void AddressAttribute::setTo | ( | const QStringList & | to | ) |
Sets the addresses of the "To: "receivers.
"
- Parameters
-
to address of the receiver.
Definition at line 105 of file addressattribute.cpp.
QStringList AddressAttribute::to | ( | ) | const |
Returns the addresses of the "To:" receivers.
Definition at line 100 of file addressattribute.cpp.
|
virtual |
Returns the type of the attribute.
Implements Akonadi::Attribute.
Definition at line 62 of file addressattribute.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:00:28 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.