Akonadi::AddressAttribute
#include <addressattribute.h>
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 |
AddressAttribute * | clone () 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 |
Public Member Functions inherited from Akonadi::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 28 of file addressattribute.h.
Constructor & Destructor Documentation
◆ AddressAttribute()
|
explicit |
Creates a new AddressAttribute.
Definition at line 29 of file addressattribute.cpp.
◆ ~AddressAttribute()
|
overridedefault |
Destroys the AddressAttribute.
Member Function Documentation
◆ bcc()
|
nodiscard |
Returns the addresses of the "Bcc:" receivers.
Definition at line 108 of file addressattribute.cpp.
◆ cc()
|
nodiscard |
Returns the addresses of the "Cc:" receivers.
Definition at line 98 of file addressattribute.cpp.
◆ clone()
|
nodiscardoverridevirtual |
Implements Akonadi::Attribute.
Definition at line 41 of file addressattribute.cpp.
◆ deliveryStatusNotification()
|
nodiscard |
Definition at line 118 of file addressattribute.cpp.
◆ deserialize()
|
overridevirtual |
Implements Akonadi::Attribute.
Definition at line 65 of file addressattribute.cpp.
◆ from()
|
nodiscard |
Returns the address of the sender.
Definition at line 78 of file addressattribute.cpp.
◆ operator==()
bool AddressAttribute::operator== | ( | const AddressAttribute & | other | ) | const |
Definition at line 123 of file addressattribute.cpp.
◆ serialized()
|
nodiscardoverridevirtual |
Implements Akonadi::Attribute.
Definition at line 52 of file addressattribute.cpp.
◆ setBcc()
void AddressAttribute::setBcc | ( | const QStringList & | bcc | ) |
Sets the addresses of the "Bcc:" receivers.
"
- Parameters
-
bcc addresses of the receivers (CC)
Definition at line 113 of file addressattribute.cpp.
◆ setCc()
void AddressAttribute::setCc | ( | const QStringList & | cc | ) |
Sets the addresses of the "Cc:" receivers.
"
- Parameters
-
cc addresses of the receivers (CC)
Definition at line 103 of file addressattribute.cpp.
◆ setDeliveryStatusNotification()
void AddressAttribute::setDeliveryStatusNotification | ( | bool | b | ) |
Definition at line 128 of file addressattribute.cpp.
◆ setFrom()
void AddressAttribute::setFrom | ( | const QString & | from | ) |
Sets the address of the sender.
Definition at line 83 of file addressattribute.cpp.
◆ setTo()
void AddressAttribute::setTo | ( | const QStringList & | to | ) |
Sets the addresses of the "To: "receivers.
"
- Parameters
-
to address of the receiver.
Definition at line 93 of file addressattribute.cpp.
◆ to()
|
nodiscard |
Returns the addresses of the "To:" receivers.
Definition at line 88 of file addressattribute.cpp.
◆ type()
|
nodiscardoverridevirtual |
Implements Akonadi::Attribute.
Definition at line 46 of file addressattribute.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 13 2024 11:55:27 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.