mailcommon
filteractionrewriteheader.cpp
Go to the documentation of this file.
40 : FilterActionWithStringList( QLatin1String("rewrite header"), i18n( "Rewrite Header" ), parent )
145 PimCommon::MinimumComboBox *comboBox = paramWidget->findChild<PimCommon::MinimumComboBox*>( QLatin1String("combo") );
157 RegExpLineEdit *regExpLineEdit = paramWidget->findChild<RegExpLineEdit*>( QLatin1String("search") );
168 const PimCommon::MinimumComboBox *comboBox = paramWidget->findChild<PimCommon::MinimumComboBox*>( QLatin1String("combo") );
172 const RegExpLineEdit *regExpLineEdit = paramWidget->findChild<RegExpLineEdit*>( QLatin1String("search") );
183 PimCommon::MinimumComboBox *comboBox = paramWidget->findChild<PimCommon::MinimumComboBox*>( QLatin1String("combo") );
187 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:53
Abstract base class for filter actions with a fixed set of string parameters.
Definition: filteractionwithstringlist.h:49
void setNeedsPayloadStore()
Marks that the item's payload has been changed and needs to be written back.
Definition: itemcontext.cpp:45
Definition: regexplineedit.h:46
QString argsAsString() const
Return extra arguments as string.
Definition: filteractionrewriteheader.cpp:196
void argsFromString(const QString &argsStr)
Read extra arguments from given string.
Definition: filteractionrewriteheader.cpp:212
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:166
void setParamWidgetValue(QWidget *paramWidget) const
The filter action shall set it's widget's contents from it's parameter.
Definition: filteractionrewriteheader.cpp:142
QString displayString() const
Returns a translated string describing this filter for visualization purposes, e.g.
Definition: filteractionrewriteheader.cpp:207
QString mParameter
Definition: filteractionwithstring.h:91
FilterActionRewriteHeader(QObject *parent=0)
Definition: filteractionrewriteheader.cpp:39
void filterActionModified()
Called to notify that the current FilterAction has had some value modification.
void clearParamWidget(QWidget *paramWidget) const
The filter action shall clear it's parameter widget's contents.
Definition: filteractionrewriteheader.cpp:181
QWidget * createParamWidget(QWidget *parent) const
Creates a widget for setting the filter action parameter.
Definition: filteractionrewriteheader.cpp:92
SearchRule::RequiredPart requiredPart() const
Returns the required part from the item that is needed for the action to operate. ...
Definition: filteractionrewriteheader.cpp:86
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.