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:44
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:61
QString argsAsString() const
Return extra arguments as string.
Definition: filteractionsendfakedisposition.cpp:113
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:99
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:32
void setNeedsFlagStore()
Marks that the item's flags has been changed and needs to be written back.
Definition: itemcontext.cpp:55
bool isEmpty() const
Determines whether this action is valid.
Definition: filteractionsendfakedisposition.cpp:66
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-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:55:14 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:55:14 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.