mailcommon
filteractionunsetstatus.cpp
Go to the documentation of this file.
30 : FilterActionStatus( QLatin1String("unset status"), i18nc( "action: to unset the status", "Unset Status" ), parent )
63 //Laurent unread status doesn't exist. And crash if we use "const Akonadi::Item::Flag flag = *(flags.begin());" etc. => if we unset "unread" we set read
ReturnCode process(ItemContext &context, bool applyOnOutbound) const
Execute action on given message (inside the item context).
Definition: filteractionunsetstatus.cpp:52
QString argsAsString() const
Return extra arguments as string.
Definition: filteractionstatus.cpp:98
QString sieveCode() const
Definition: filteractionunsetstatus.cpp:88
bool isEmpty() const
Determines whether this action is valid.
Definition: filteractionunsetstatus.cpp:40
QStringList mParameterList
Definition: filteractionwithstringlist.h:85
QString informationAboutNotValidAction() const
Definition: filteractionunsetstatus.cpp:46
static Akonadi::MessageStatus stati[]
Definition: filteractionstatus.h:39
static FilterAction * newAction()
Definition: filteractionunsetstatus.cpp:24
iterator begin()
Definition: searchrule.h:80
QString mParameter
Definition: filteractionwithstring.h:91
SearchRule::RequiredPart requiredPart() const
Returns the required part from the item that is needed for the action to operate. ...
Definition: filteractionunsetstatus.cpp:83
QString fromLatin1(const char *str, int size)
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
QStringList sieveRequires() const
Definition: filteractionunsetstatus.cpp:107
QString arg(qlonglong a, int fieldWidth, int base, const QChar &fillChar) const
FilterActionUnsetStatus(QObject *parent=0)
Definition: filteractionunsetstatus.cpp:29
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.