Mailcommon
filteractionwithstring.h
Abstract base class for filter actions with a free-form string as parameter.
Definition filteractionwithstring.h:29
QWidget * createParamWidget(QWidget *parent) const override
Creates a widget for setting the filter action parameter.
Definition filteractionwithstring.cpp:24
void setParamWidgetValue(QWidget *paramWidget) const override
The filter action shall set it's widget's contents from it's parameter.
Definition filteractionwithstring.cpp:42
void clearParamWidget(QWidget *paramWidget) const override
The filter action shall clear it's parameter widget's contents.
Definition filteractionwithstring.cpp:47
FilterActionWithString(const QString &name, const QString &label, QObject *parent=nullptr)
Creates a new filter action.
Definition filteractionwithstring.cpp:14
QString argsAsString() const override
Return extra arguments as string.
Definition filteractionwithstring.cpp:57
bool isEmpty() const override
Determines whether this action is valid.
Definition filteractionwithstring.cpp:19
void argsFromString(const QString &argsStr) override
Read extra arguments from given string.
Definition filteractionwithstring.cpp:52
void applyParamWidgetValue(QWidget *paramWidget) override
The filter action shall set it's parameter from the widget's contents.
Definition filteractionwithstring.cpp:37
QString displayString() const override
Returns a translated string describing this filter for visualization purposes, e.g.
Definition filteractionwithstring.cpp:62
Q_OBJECTQ_OBJECT
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:00:24 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:00:24 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.