Mailcommon
filteractionwithfolder.h
73 [[nodiscard]] bool argsFromStringInteractive(const QString &argsStr, const QString &filterName) override;
85 [[nodiscard]] bool folderRemoved(const Akonadi::Collection &aFolder, const Akonadi::Collection &aNewFolder) override;
Abstract base class for filter actions with a mail folder as parameter.
Definition filteractionwithfolder.h:29
void argsFromString(const QString &argsStr) override
Read extra arguments from given string.
Definition filteractionwithfolder.cpp:93
void applyParamWidgetValue(QWidget *paramWidget) override
The filter action shall set it's parameter from the widget's contents.
Definition filteractionwithfolder.cpp:42
void clearParamWidget(QWidget *paramWidget) const override
The filter action shall clear it's parameter widget's contents.
Definition filteractionwithfolder.cpp:52
bool folderRemoved(const Akonadi::Collection &aFolder, const Akonadi::Collection &aNewFolder) override
Called from the filter when a folder is removed.
Definition filteractionwithfolder.cpp:124
QString displayString() const override
Returns a translated string describing this filter for visualization purposes, e.g.
Definition filteractionwithfolder.cpp:114
void setParamWidgetValue(QWidget *paramWidget) const override
The filter action shall set it's widget's contents from it's parameter.
Definition filteractionwithfolder.cpp:47
bool isEmpty() const override
Determines whether this action is valid.
Definition filteractionwithfolder.cpp:25
FilterActionWithFolder(const QString &name, const QString &label, QObject *parent=nullptr)
Creates a new filter action.
Definition filteractionwithfolder.cpp:20
QWidget * createParamWidget(QWidget *parent) const override
Creates a widget for setting the filter action parameter.
Definition filteractionwithfolder.cpp:30
QString argsAsString() const override
Return extra arguments as string.
Definition filteractionwithfolder.cpp:104
bool argsFromStringInteractive(const QString &argsStr, const QString &filterName) override
Read extra arguments from given string.
Definition filteractionwithfolder.cpp:57
Q_OBJECTQ_OBJECT
QObject * parent() 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.