Akonadi::MDNStateAttribute
#include <mdnstateattribute.h>
Public Types | |
enum | MDNSentState { MDNStateUnknown , MDNNone , MDNIgnore , MDNDisplayed , MDNDeleted , MDNDispatched , MDNProcessed , MDNDenied , MDNFailed } |
Public Types inherited from Akonadi::Attribute | |
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 |
Public Member Functions inherited from Akonadi::Attribute |
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 28 of file mdnstateattribute.h.
Member Enumeration Documentation
◆ MDNSentState
Describes the "MDN sent" state.
Definition at line 34 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()
|
nodiscard |
Returns the MDN state.
Definition at line 142 of file mdnstateattribute.cpp.
◆ operator==()
|
nodiscard |
Definition at line 147 of file mdnstateattribute.cpp.
◆ serialized()
|
nodiscardoverridevirtual |
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()
|
nodiscardoverridevirtual |
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-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:32:40 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.