Akonadi::MDNStateAttribute
#include <mdnstateattribute.h>

Public Types | |
enum | MDNSentState { MDNStateUnknown, MDNNone, MDNIgnore, MDNDisplayed, MDNDeleted, MDNDispatched, MDNProcessed, MDNDenied, MDNFailed } |
![]() | |
typedef QList< Attribute * > | List |
Public Member Functions | |
MDNStateAttribute (const QByteArray &state) | |
MDNStateAttribute (MDNSentState state=MDNStateUnknown) | |
~MDNStateAttribute () override | |
MDNStateAttribute * | clone () const override |
void | deserialize (const QByteArray &data) override |
MDNStateAttribute::MDNSentState | mdnState () const |
bool | operator== (const MDNStateAttribute &other) const |
QByteArray | serialized () const override |
void | setMDNState (MDNSentState state) |
QByteArray | type () const override |
Detailed Description
An Attribute that keeps track of the MDN state of a mail message.
Once a mail that contains a Message Disposition Notification is processed, the outcome of the user action will be stored in this attribute.
- See also
- Akonadi::Attribute
- Since
- 4.6
Definition at line 35 of file mdnstateattribute.h.
Member Enumeration Documentation
◆ MDNSentState
Describes the "MDN sent" state.
Definition at line 48 of file mdnstateattribute.h.
Constructor & Destructor Documentation
◆ MDNStateAttribute() [1/2]
|
explicit |
Creates a new MDN state attribute.
- Parameters
-
state The state the attribute will have.
Definition at line 102 of file mdnstateattribute.cpp.
◆ MDNStateAttribute() [2/2]
|
explicit |
Creates a new MDN state attribute.
- Parameters
-
state The string representation of the state the attribute will have.
Definition at line 108 of file mdnstateattribute.cpp.
◆ ~MDNStateAttribute()
|
overridedefault |
Destroys the MDN state attribute.
Member Function Documentation
◆ clone()
|
overridevirtual |
Reimplemented from Attribute.
Implements Akonadi::Attribute.
Definition at line 116 of file mdnstateattribute.cpp.
◆ deserialize()
|
overridevirtual |
Reimplemented from Attribute.
Implements Akonadi::Attribute.
Definition at line 132 of file mdnstateattribute.cpp.
◆ mdnState()
MDNStateAttribute::MDNSentState MDNStateAttribute::mdnState | ( | ) | const |
Returns the MDN state.
Definition at line 142 of file mdnstateattribute.cpp.
◆ serialized()
|
overridevirtual |
Reimplemented from Attribute.
Implements Akonadi::Attribute.
Definition at line 127 of file mdnstateattribute.cpp.
◆ setMDNState()
void MDNStateAttribute::setMDNState | ( | MDNSentState | state | ) |
Sets the MDN state
.
Definition at line 137 of file mdnstateattribute.cpp.
◆ type()
|
overridevirtual |
Reimplemented from Attribute.
Implements Akonadi::Attribute.
Definition at line 121 of file mdnstateattribute.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2023 The KDE developers.
Generated on Fri Jun 9 2023 03:53:38 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.