mailtransport
#include <sentactionattribute.h>
Public Types | |
typedef QList< Action > | List |
enum | Type { Invalid, MarkAsReplied, MarkAsForwarded } |
Public Member Functions | |
Action () | |
Action (Type type, const QVariant &value) | |
Action (const Action &other) | |
~Action () | |
Action & | operator= (const Action &other) |
bool | operator== (const Action &other) const |
Type | type () const |
QVariant | value () const |
Detailed Description
A sent action.
Definition at line 49 of file sentactionattribute.h.
Member Typedef Documentation
Describes a list of sent actions.
Definition at line 64 of file sentactionattribute.h.
Member Enumeration Documentation
Describes the action type.
Enumerator | |
---|---|
Invalid |
An invalid action. |
MarkAsReplied |
The message will be marked as replied. |
MarkAsForwarded |
The message will be marked as forwarded. |
Definition at line 55 of file sentactionattribute.h.
Constructor & Destructor Documentation
SentActionAttribute::Action::Action | ( | ) |
Creates a new invalid action.
Definition at line 49 of file sentactionattribute.cpp.
Creates a new action.
- Parameters
-
action The action that shall be executed. value The action specific argument.
Definition at line 54 of file sentactionattribute.cpp.
SentActionAttribute::Action::Action | ( | const Action & | other | ) |
Creates an action from an other
action.
Definition at line 61 of file sentactionattribute.cpp.
SentActionAttribute::Action::~Action | ( | ) |
Destroys the action.
Definition at line 66 of file sentactionattribute.cpp.
Member Function Documentation
SentActionAttribute::Action & SentActionAttribute::Action::operator= | ( | const Action & | other | ) |
Definition at line 80 of file sentactionattribute.cpp.
bool SentActionAttribute::Action::operator== | ( | const Action & | other | ) | const |
Definition at line 89 of file sentactionattribute.cpp.
SentActionAttribute::Action::Type SentActionAttribute::Action::type | ( | ) | const |
Returns the type of the action.
Definition at line 70 of file sentactionattribute.cpp.
QVariant SentActionAttribute::Action::value | ( | ) | const |
Returns the argument value of the action.
Definition at line 75 of file sentactionattribute.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:37:49 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.