MailCommon::RuleWidgetHandlerManager
#include <rulewidgethandlermanager.h>
Public Member Functions | |
void | createWidgets (QStackedWidget *functionStack, QStackedWidget *valueStack, const QObject *receiver) const |
MailCommon::SearchRule::Function | function (const QByteArray &field, const QStackedWidget *functionStack) const |
QString | prettyValue (const QByteArray &field, const QStackedWidget *functionStack, const QStackedWidget *valueStack) const |
void | registerHandler (const RuleWidgetHandler *handler) |
void | reset (QStackedWidget *functionStack, QStackedWidget *valueStack) const |
void | setIsAkonadiSearch (bool isBalooSearch) |
void | setRule (QStackedWidget *functionStack, QStackedWidget *valueStack, const MailCommon::SearchRule::Ptr rule) const |
void | unregisterHandler (const RuleWidgetHandler *handler) |
void | update (const QByteArray &field, QStackedWidget *functionStack, QStackedWidget *valueStack) const |
QString | value (const QByteArray &field, const QStackedWidget *functionStack, const QStackedWidget *valueStack) const |
Static Public Member Functions | |
static RuleWidgetHandlerManager * | instance () |
Detailed Description
Singleton to manage the list of RuleWidgetHandlers.
Definition at line 26 of file rulewidgethandlermanager.h.
Constructor & Destructor Documentation
◆ ~RuleWidgetHandlerManager()
MailCommon::RuleWidgetHandlerManager::~RuleWidgetHandlerManager | ( | ) |
Definition at line 52 of file rulewidgethandlermanager.cpp.
Member Function Documentation
◆ createWidgets()
void MailCommon::RuleWidgetHandlerManager::createWidgets | ( | QStackedWidget * | functionStack, |
QStackedWidget * | valueStack, | ||
const QObject * | receiver ) const |
Definition at line 96 of file rulewidgethandlermanager.cpp.
◆ function()
SearchRule::Function MailCommon::RuleWidgetHandlerManager::function | ( | const QByteArray & | field, |
const QStackedWidget * | functionStack ) const |
Definition at line 124 of file rulewidgethandlermanager.cpp.
◆ instance()
|
inlinestatic |
Definition at line 35 of file rulewidgethandlermanager.h.
◆ prettyValue()
|
nodiscard |
Definition at line 148 of file rulewidgethandlermanager.cpp.
◆ registerHandler()
void MailCommon::RuleWidgetHandlerManager::registerHandler | ( | const RuleWidgetHandler * | handler | ) |
Definition at line 62 of file rulewidgethandlermanager.cpp.
◆ reset()
void MailCommon::RuleWidgetHandlerManager::reset | ( | QStackedWidget * | functionStack, |
QStackedWidget * | valueStack ) const |
Definition at line 160 of file rulewidgethandlermanager.cpp.
◆ setIsAkonadiSearch()
void MailCommon::RuleWidgetHandlerManager::setIsAkonadiSearch | ( | bool | isBalooSearch | ) |
Definition at line 57 of file rulewidgethandlermanager.cpp.
◆ setRule()
void MailCommon::RuleWidgetHandlerManager::setRule | ( | QStackedWidget * | functionStack, |
QStackedWidget * | valueStack, | ||
const MailCommon::SearchRule::Ptr | rule ) const |
Definition at line 169 of file rulewidgethandlermanager.cpp.
◆ unregisterHandler()
void MailCommon::RuleWidgetHandlerManager::unregisterHandler | ( | const RuleWidgetHandler * | handler | ) |
Definition at line 71 of file rulewidgethandlermanager.cpp.
◆ update()
void MailCommon::RuleWidgetHandlerManager::update | ( | const QByteArray & | field, |
QStackedWidget * | functionStack, | ||
QStackedWidget * | valueStack ) const |
Definition at line 181 of file rulewidgethandlermanager.cpp.
◆ value()
|
nodiscard |
Definition at line 136 of file rulewidgethandlermanager.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 20 2024 11:57:42 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.