Mailcommon
filteractionwithstring.cpp
14FilterActionWithString::FilterActionWithString(const QString &name, const QString &label, QObject *parent)
64 return label() + QLatin1StringView(" \"") + argsAsString().toHtmlEscaped() + QLatin1StringView("\"");
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
void filterActionModified()
Called to notify that the current FilterAction has had some value modification.
void textChanged(const QString &text)
QMetaObject::Connection connect(const QObject *sender, PointerToMemberFunction signal, Functor functor)
QObject * parent() const const
bool isEmpty() const const
QString toHtmlEscaped() const const
QString trimmed() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:09:01 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:09:01 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.