AddressAttribute Class Reference
from PyKDE4.akonadi import *
Inherits: Akonadi.Attribute
Namespace: Akonadi
Detailed Description
Attribute storing the From, To, Cc, Bcc addresses of a message.
- Author:
- Constantin Berzan <exit3219@gmail.com>
- Since:
- 4.4
Methods |
| | __init__ (self, QString from=QString(), QStringList to=QStringList(), QStringList cc=QStringList(), QStringList bcc=QStringList()) |
| QStringList | bcc (self) |
| QStringList | cc (self) |
| Akonadi.AddressAttribute | clone (self) |
| | deserialize (self, QByteArray data) |
| QString | from (self) |
| Akonadi.AddressAttribute | operator = (self, Akonadi.AddressAttribute a0) |
| QByteArray | serialized (self) |
| | setBcc (self, QStringList bcc) |
| | setCc (self, QStringList cc) |
| | setFrom (self, QString from) |
| | setTo (self, QStringList to) |
| QStringList | to (self) |
| QByteArray | type (self) |
Method Documentation
| __init__ |
( |
self, |
|
|
|
QString |
from=QString(), |
|
|
QStringList |
to=QStringList(), |
|
|
QStringList |
cc=QStringList(), |
|
|
QStringList |
bcc=QStringList() |
|
) |
|
|
|
Creates a new AddressAttribute.
Returns the addresses of the "Bcc:" receivers.
Returns the addresses of the "Cc:" receivers.
| deserialize |
( |
self, |
|
|
|
QByteArray |
data |
|
) |
|
|
|
Returns the address of the sender.
| QByteArray serialized |
( |
|
self ) |
|
| setBcc |
( |
self, |
|
|
|
QStringList |
bcc |
|
) |
|
|
|
Sets the addresses of the "Bcc:" receivers."
| setCc |
( |
self, |
|
|
|
QStringList |
cc |
|
) |
|
|
|
Sets the addresses of the "Cc:" receivers."
| setFrom |
( |
self, |
|
|
|
QString |
from |
|
) |
|
|
|
Sets the address of the sender.
| setTo |
( |
self, |
|
|
|
QStringList |
to |
|
) |
|
|
|
Sets the addresses of the "To:" receivers."
Returns the addresses of the "To:" receivers.