mailcommon
#include <rulewidgethandlermanager.h>
Public Member Functions | |
~RuleWidgetHandlerManager () | |
void | createWidgets (QStackedWidget *functionStack, QStackedWidget *valueStack, const QObject *receiver) const |
MailCommon::SearchRule::Function | function (const QByteArray &field, const QStackedWidget *functionStack) const |
bool | handlesField (const QByteArray &field, const QStackedWidget *functionStack, const QStackedWidget *valueStack) 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 | setIsNepomukSearch (bool isNepomukSearch) |
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 50 of file rulewidgethandlermanager.h.
Constructor & Destructor Documentation
MailCommon::RuleWidgetHandlerManager::~RuleWidgetHandlerManager | ( | ) |
Definition at line 76 of file rulewidgethandlermanager.cpp.
Member Function Documentation
void MailCommon::RuleWidgetHandlerManager::createWidgets | ( | QStackedWidget * | functionStack, |
QStackedWidget * | valueStack, | ||
const QObject * | receiver | ||
) | const |
Definition at line 123 of file rulewidgethandlermanager.cpp.
SearchRule::Function MailCommon::RuleWidgetHandlerManager::function | ( | const QByteArray & | field, |
const QStackedWidget * | functionStack | ||
) | const |
Definition at line 157 of file rulewidgethandlermanager.cpp.
bool MailCommon::RuleWidgetHandlerManager::handlesField | ( | const QByteArray & | field, |
const QStackedWidget * | functionStack, | ||
const QStackedWidget * | valueStack | ||
) | const |
|
inlinestatic |
Definition at line 59 of file rulewidgethandlermanager.h.
QString MailCommon::RuleWidgetHandlerManager::prettyValue | ( | const QByteArray & | field, |
const QStackedWidget * | functionStack, | ||
const QStackedWidget * | valueStack | ||
) | const |
Definition at line 184 of file rulewidgethandlermanager.cpp.
void MailCommon::RuleWidgetHandlerManager::registerHandler | ( | const RuleWidgetHandler * | handler | ) |
Definition at line 87 of file rulewidgethandlermanager.cpp.
void MailCommon::RuleWidgetHandlerManager::reset | ( | QStackedWidget * | functionStack, |
QStackedWidget * | valueStack | ||
) | const |
Definition at line 198 of file rulewidgethandlermanager.cpp.
void MailCommon::RuleWidgetHandlerManager::setIsNepomukSearch | ( | bool | isNepomukSearch | ) |
Definition at line 82 of file rulewidgethandlermanager.cpp.
void MailCommon::RuleWidgetHandlerManager::setRule | ( | QStackedWidget * | functionStack, |
QStackedWidget * | valueStack, | ||
const MailCommon::SearchRule::Ptr | rule | ||
) | const |
Definition at line 208 of file rulewidgethandlermanager.cpp.
void MailCommon::RuleWidgetHandlerManager::unregisterHandler | ( | const RuleWidgetHandler * | handler | ) |
Definition at line 96 of file rulewidgethandlermanager.cpp.
void MailCommon::RuleWidgetHandlerManager::update | ( | const QByteArray & | field, |
QStackedWidget * | functionStack, | ||
QStackedWidget * | valueStack | ||
) | const |
Definition at line 222 of file rulewidgethandlermanager.cpp.
QString MailCommon::RuleWidgetHandlerManager::value | ( | const QByteArray & | field, |
const QStackedWidget * | functionStack, | ||
const QStackedWidget * | valueStack | ||
) | const |
Definition at line 170 of file rulewidgethandlermanager.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:55:15 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.