MailCommon::RuleWidgetHandlerManager

Search for usage in LXR

MailCommon::RuleWidgetHandlerManager Class Reference

#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 RuleWidgetHandlerManagerinstance ()
 

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 48 of file rulewidgethandlermanager.cpp.

Member Function Documentation

◆ createWidgets()

void MailCommon::RuleWidgetHandlerManager::createWidgets ( QStackedWidget * functionStack,
QStackedWidget * valueStack,
const QObject * receiver ) const

Definition at line 92 of file rulewidgethandlermanager.cpp.

◆ function()

SearchRule::Function MailCommon::RuleWidgetHandlerManager::function ( const QByteArray & field,
const QStackedWidget * functionStack ) const

Definition at line 120 of file rulewidgethandlermanager.cpp.

◆ instance()

static RuleWidgetHandlerManager * MailCommon::RuleWidgetHandlerManager::instance ( )
inlinestatic

Definition at line 35 of file rulewidgethandlermanager.h.

◆ prettyValue()

QString MailCommon::RuleWidgetHandlerManager::prettyValue ( const QByteArray & field,
const QStackedWidget * functionStack,
const QStackedWidget * valueStack ) const

Definition at line 144 of file rulewidgethandlermanager.cpp.

◆ registerHandler()

void MailCommon::RuleWidgetHandlerManager::registerHandler ( const RuleWidgetHandler * handler)

Definition at line 58 of file rulewidgethandlermanager.cpp.

◆ reset()

void MailCommon::RuleWidgetHandlerManager::reset ( QStackedWidget * functionStack,
QStackedWidget * valueStack ) const

Definition at line 156 of file rulewidgethandlermanager.cpp.

◆ setIsAkonadiSearch()

void MailCommon::RuleWidgetHandlerManager::setIsAkonadiSearch ( bool isBalooSearch)

Definition at line 53 of file rulewidgethandlermanager.cpp.

◆ setRule()

void MailCommon::RuleWidgetHandlerManager::setRule ( QStackedWidget * functionStack,
QStackedWidget * valueStack,
const MailCommon::SearchRule::Ptr rule ) const

Definition at line 165 of file rulewidgethandlermanager.cpp.

◆ unregisterHandler()

void MailCommon::RuleWidgetHandlerManager::unregisterHandler ( const RuleWidgetHandler * handler)

Definition at line 67 of file rulewidgethandlermanager.cpp.

◆ update()

void MailCommon::RuleWidgetHandlerManager::update ( const QByteArray & field,
QStackedWidget * functionStack,
QStackedWidget * valueStack ) const

Definition at line 177 of file rulewidgethandlermanager.cpp.

◆ value()

QString MailCommon::RuleWidgetHandlerManager::value ( const QByteArray & field,
const QStackedWidget * functionStack,
const QStackedWidget * valueStack ) const

Definition at line 132 of file rulewidgethandlermanager.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Jun 14 2024 11:59:40 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.