Akonadi::SentActionAttribute::Action
#include <sentactionattribute.h>
Public Types | |
using | List = QList<Action> |
enum | Type { Invalid , MarkAsReplied , MarkAsForwarded } |
Public Member Functions | |
Action () | |
Action (const Action &other) | |
Action (Type type, const QVariant &value) | |
~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 39 of file sentactionattribute.h.
Member Typedef Documentation
◆ List
Describes a list of sent actions.
Definition at line 54 of file sentactionattribute.h.
Member Enumeration Documentation
◆ Type
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 45 of file sentactionattribute.h.
Constructor & Destructor Documentation
◆ Action() [1/3]
SentActionAttribute::Action::Action | ( | ) |
Creates a new invalid action.
Definition at line 29 of file sentactionattribute.cpp.
◆ Action() [2/3]
Creates a new action.
- Parameters
-
type The type of action that shall be executed. value The action specific argument.
Definition at line 34 of file sentactionattribute.cpp.
◆ Action() [3/3]
|
default |
Creates an action from an other
action.
◆ ~Action()
|
default |
Destroys the action.
Member Function Documentation
◆ operator=()
SentActionAttribute::Action & SentActionAttribute::Action::operator= | ( | const Action & | other | ) |
Definition at line 57 of file sentactionattribute.cpp.
◆ operator==()
bool SentActionAttribute::Action::operator== | ( | const Action & | other | ) | const |
Definition at line 66 of file sentactionattribute.cpp.
◆ type()
|
nodiscard |
Returns the type of the action.
Definition at line 47 of file sentactionattribute.cpp.
◆ value()
|
nodiscard |
Returns the argument value of the action.
Definition at line 52 of file sentactionattribute.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Oct 4 2024 12:03:52 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.