mailcommon
Go to the documentation of this file.
20 #ifndef MAILCOMMON_FILTERACTION_H
21 #define MAILCOMMON_FILTERACTION_H
28 #include <Akonadi/Collection>
29 #include <Akonadi/Item>
32 #include <KMime/KMimeMessage>
34 #include <QtCore/QList>
35 #include <QtCore/QObject>
39 namespace MailCommon {
61 ErrorNeedComplete = 0x1,
98 virtual QString sieveCode()
const;
121 virtual bool isEmpty()
const;
123 virtual QString informationAboutNotValidAction()
const;
136 virtual void applyParamWidgetValue(
QWidget *paramWidget );
142 virtual void setParamWidgetValue(
QWidget *paramWidget )
const;
148 virtual void clearParamWidget(
QWidget *paramWidget )
const;
153 virtual void argsFromString(
const QString &argsStr ) = 0;
159 virtual bool argsFromStringInteractive(
const QString &argsStr,
const QString &filterName );
161 virtual QString argsAsStringReal()
const;
166 virtual QString argsAsString()
const = 0;
172 virtual QString displayString()
const = 0;
179 virtual bool folderRemoved(
const Akonadi::Collection &aFolder,
180 const Akonadi::Collection &aNewFolder );
190 static void sendMDN(
const Akonadi::Item &item,
191 KMime::MDN::DispositionType d,
200 void filterActionModified();
Abstract base class for mail filter actions.
#define MAILCOMMON_EXPORT
ReturnCode
Describes the possible return codes of filter processing:
A helper class for the filtering process.
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
KDE's Doxygen guidelines are available online.