mailcommon
filteractionsendfakedisposition.cpp
Go to the documentation of this file.
71 FilterAction::ReturnCode FilterActionSendFakeDisposition::process(ItemContext &context , bool) const
79 context.item().attribute<MessageCore::MDNStateAttribute>()->setMDNState( MessageCore::MDNStateAttribute::MDNIgnore );
FilterActionSendFakeDisposition(QObject *parent=0)
Definition: filteractionsendfakedisposition.cpp:43
QString displayString() const
Returns a translated string describing this filter for visualization purposes, e.g.
Definition: filteractionsendfakedisposition.cpp:122
Abstract base class for filter actions with a fixed set of string parameters.
Definition: filteractionwithstringlist.h:49
static FilterAction * newAction()
Definition: filteractionsendfakedisposition.cpp:60
const T & at(int i) const
QString argsAsString() const
Return extra arguments as string.
Definition: filteractionsendfakedisposition.cpp:113
void append(const T &value)
QStringList mParameterList
Definition: filteractionwithstringlist.h:85
static void sendMDN(const Akonadi::Item &item, KMime::MDN::DispositionType d, const QList< KMime::MDN::DispositionModifier > &m=QList< KMime::MDN::DispositionModifier >())
Automates the sending of MDNs from filter actions.
Definition: filteraction.cpp:106
QString informationAboutNotValidAction() const
Definition: filteractionsendfakedisposition.cpp:127
SearchRule::RequiredPart requiredPart() const
Returns the required part from the item that is needed for the action to operate. ...
Definition: filteractionsendfakedisposition.cpp:88
void argsFromString(const QString &argsStr)
Read extra arguments from given string.
Definition: filteractionsendfakedisposition.cpp:94
QString mParameter
Definition: filteractionwithstring.h:91
static const KMime::MDN::DispositionType mdns[]
Definition: filteractionsendfakedisposition.cpp:31
int length() const
int indexOf(const QRegExp &rx, int from) const
void setNeedsFlagStore()
Marks that the item's flags has been changed and needs to be written back.
Definition: itemcontext.cpp:54
bool isEmpty() const
Determines whether this action is valid.
Definition: filteractionsendfakedisposition.cpp:65
ReturnCode process(ItemContext &context, bool applyOnOutbound) const
Execute action on given message (inside the item context).
Definition: filteractionsendfakedisposition.cpp:71
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:31:40 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:31:40 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.