mailcommon
filteractionaddheader.cpp
Go to the documentation of this file.
121 PimCommon::MinimumComboBox *comboBox = paramWidget->findChild<PimCommon::MinimumComboBox*>( QLatin1String("combo") );
141 const PimCommon::MinimumComboBox *comboBox = paramWidget->findChild<PimCommon::MinimumComboBox*>( QLatin1String("combo") );
152 PimCommon::MinimumComboBox *comboBox = paramWidget->findChild<PimCommon::MinimumComboBox*>( QLatin1String("combo") );
int width() const
void setFixedWidth(int w)
ReturnCode process(ItemContext &context, bool applyOnOutbound) const
Execute action on given message (inside the item context).
Definition: filteractionaddheader.cpp:52
SearchRule::RequiredPart requiredPart() const
Returns the required part from the item that is needed for the action to operate. ...
Definition: filteractionaddheader.cpp:161
Abstract base class for filter actions with a fixed set of string parameters.
Definition: filteractionwithstringlist.h:49
void applyParamWidgetValue(QWidget *paramWidget)
The filter action shall set it's parameter from the widget's contents.
Definition: filteractionaddheader.cpp:139
QStringList split(const QString &sep, SplitBehavior behavior, Qt::CaseSensitivity cs) const
QString displayString() const
Returns a translated string describing this filter for visualization purposes, e.g.
Definition: filteractionaddheader.cpp:176
void clearParamWidget(QWidget *paramWidget) const
The filter action shall clear it's parameter widget's contents.
Definition: filteractionaddheader.cpp:150
const T & at(int i) const
QWidget * createParamWidget(QWidget *parent) const
Creates a widget for setting the filter action parameter.
Definition: filteractionaddheader.cpp:74
void setNeedsPayloadStore()
Marks that the item's payload has been changed and needs to be written back.
Definition: itemcontext.cpp:44
void clear()
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 setObjectName(const QString &name)
bool isEmpty() const
void setParamWidgetValue(QWidget *paramWidget) const
The filter action shall set it's widget's contents from it's parameter.
Definition: filteractionaddheader.cpp:117
FilterActionAddHeader(QObject *parent=0)
Definition: filteractionaddheader.cpp:34
void setMargin(int margin)
static FilterAction * newAction()
Definition: filteractionaddheader.cpp:202
void argsFromString(const QString &argsStr)
Read extra arguments from given string.
Definition: filteractionaddheader.cpp:181
QString sieveCode() const
Definition: filteractionaddheader.cpp:212
QString mParameter
Definition: filteractionwithstring.h:91
QByteArray toLatin1() const
QString escape(const QString &plain)
void filterActionModified()
Called to notify that the current FilterAction has had some value modification.
virtual QSize sizeHint() const
QString informationAboutNotValidAction() const
Definition: filteractionaddheader.cpp:221
QString fromLatin1(const char *str, int size)
int indexOf(const QRegExp &rx, int from) const
bool isEmpty() const
Determines whether this action is valid.
Definition: filteractionaddheader.cpp:47
QStringList sieveRequires() const
Definition: filteractionaddheader.cpp:207
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
QString arg(qlonglong a, int fieldWidth, int base, const QChar &fillChar) const
void setSpacing(int spacing)
QString argsAsString() const
Return extra arguments as string.
Definition: filteractionaddheader.cpp:167
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.