mailcommon
filteractionrewriteheader.cpp
Go to the documentation of this file.
40 : FilterActionWithStringList( QLatin1String("rewrite header"), i18n( "Rewrite Header" ), parent )
168 PimCommon::MinimumComboBox *comboBox = paramWidget->findChild<PimCommon::MinimumComboBox*>( QLatin1String("combo") );
180 RegExpLineEdit *regExpLineEdit = paramWidget->findChild<RegExpLineEdit*>( QLatin1String("search") );
191 const PimCommon::MinimumComboBox *comboBox = paramWidget->findChild<PimCommon::MinimumComboBox*>( QLatin1String("combo") );
195 const RegExpLineEdit *regExpLineEdit = paramWidget->findChild<RegExpLineEdit*>( QLatin1String("search") );
206 PimCommon::MinimumComboBox *comboBox = paramWidget->findChild<PimCommon::MinimumComboBox*>( QLatin1String("combo") );
210 RegExpLineEdit *regExpLineEdit = paramWidget->findChild<RegExpLineEdit*>( QLatin1String("search") );
static FilterAction * newAction()
Definition: filteractionrewriteheader.cpp:34
ReturnCode process(ItemContext &context, bool applyOnOutbound) const
Execute action on given message (inside the item context).
Definition: filteractionrewriteheader.cpp:74
int width() const
void setFixedWidth(int w)
bool isEmpty() const
Abstract base class for filter actions with a fixed set of string parameters.
Definition: filteractionwithstringlist.h:49
QStringList split(const QString &sep, SplitBehavior behavior, Qt::CaseSensitivity cs) const
const T & at(int i) const
void setNeedsPayloadStore()
Marks that the item's payload has been changed and needs to be written back.
Definition: itemcontext.cpp:44
Definition: regexplineedit.h:46
QString argsAsString() const
Return extra arguments as string.
Definition: filteractionrewriteheader.cpp:219
void setPattern(const QString &pattern)
void argsFromString(const QString &argsStr)
Read extra arguments from given string.
Definition: filteractionrewriteheader.cpp:235
void addWidget(QWidget *widget, int stretch, QFlags< Qt::AlignmentFlag > alignment)
int count(const T &value) const
void append(const T &value)
QStringList mParameterList
Definition: filteractionwithstringlist.h:85
void applyParamWidgetValue(QWidget *paramWidget)
The filter action shall set it's parameter from the widget's contents.
Definition: filteractionrewriteheader.cpp:189
void setParamWidgetValue(QWidget *paramWidget) const
The filter action shall set it's widget's contents from it's parameter.
Definition: filteractionrewriteheader.cpp:165
void setObjectName(const QString &name)
bool isEmpty() const
void setMargin(int margin)
QString displayString() const
Returns a translated string describing this filter for visualization purposes, e.g.
Definition: filteractionrewriteheader.cpp:230
QString mParameter
Definition: filteractionwithstring.h:91
QString & replace(int position, int n, QChar after)
FilterActionRewriteHeader(QObject *parent=0)
Definition: filteractionrewriteheader.cpp:39
QByteArray toLatin1() const
QString escape(const QString &plain)
bool isEmpty() const
Determines whether this action is valid.
Definition: filteractionrewriteheader.cpp:53
void filterActionModified()
Called to notify that the current FilterAction has had some value modification.
virtual QSize sizeHint() const
QString pattern() const
int indexOf(const QRegExp &rx, int from) const
void clearParamWidget(QWidget *paramWidget) const
The filter action shall clear it's parameter widget's contents.
Definition: filteractionrewriteheader.cpp:204
QString informationAboutNotValidAction() const
Definition: filteractionrewriteheader.cpp:58
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
QWidget * createParamWidget(QWidget *parent) const
Creates a widget for setting the filter action parameter.
Definition: filteractionrewriteheader.cpp:113
SearchRule::RequiredPart requiredPart() const
Returns the required part from the item that is needed for the action to operate. ...
Definition: filteractionrewriteheader.cpp:107
void setSpacing(int spacing)
T findChild(const QString &name) const
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.