Mailcommon
10#include "filteractionwithstringlist.h"
11#include "mailcommon_private_export.h"
12#include <QRegularExpression>
24 explicit FilterActionRewriteHeader(QObject *parent =
nullptr);
25 [[nodiscard]] ReturnCode process(ItemContext &context,
bool applyOnOutbound)
const override;
26 [[nodiscard]] SearchRule::RequiredPart requiredPart()
const override;
27 [[nodiscard]] QWidget *createParamWidget(QWidget *parent)
const override;
28 void setParamWidgetValue(QWidget *paramWidget)
const override;
29 void applyParamWidgetValue(QWidget *paramWidget)
override;
30 void clearParamWidget(QWidget *paramWidget)
const override;
32 [[nodiscard]] QString argsAsString()
const override;
33 void argsFromString(
const QString &argsStr)
override;
35 [[nodiscard]] QString displayString()
const override;
37 static FilterAction *newAction();
39 [[nodiscard]]
bool isEmpty()
const override;
40 [[nodiscard]] QString informationAboutNotValidAction()
const override;
43 QRegularExpression mRegex;
44 QString mReplacementString;
Abstract base class for filter actions with a fixed set of string parameters.
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:56:35 by
doxygen 1.13.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.