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

Member Function Documentation

◆ createWidgets()

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

Definition at line 94 of file rulewidgethandlermanager.cpp.

◆ function()

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

Definition at line 122 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
nodiscard

Definition at line 146 of file rulewidgethandlermanager.cpp.

◆ registerHandler()

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

Definition at line 60 of file rulewidgethandlermanager.cpp.

◆ reset()

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

Definition at line 158 of file rulewidgethandlermanager.cpp.

◆ setIsAkonadiSearch()

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

Definition at line 55 of file rulewidgethandlermanager.cpp.

◆ setRule()

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

Definition at line 167 of file rulewidgethandlermanager.cpp.

◆ unregisterHandler()

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

Definition at line 69 of file rulewidgethandlermanager.cpp.

◆ update()

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

Definition at line 179 of file rulewidgethandlermanager.cpp.

◆ value()

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

Definition at line 134 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 Nov 22 2024 12:12:19 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.