mailcommon
statusrulewidgethandler.cpp
Go to the documentation of this file.
42 int number, QStackedWidget *functionStack, const QObject *receiver, bool /*isBalooSearch*/ ) const
267 functionStack->setCurrentWidget( functionStack->findChild<QWidget*>(QLatin1String( "statusRuleFuncCombo") ) );
270 valueStack->setCurrentWidget( valueStack->findChild<QWidget*>( QLatin1String("statusRuleValueCombo") ) );
static const int StatusValueCountWithoutHidden
Definition: searchrulestatus.h:76
bool setRule(QStackedWidget *functionStack, QStackedWidget *valueStack, const SearchRule::Ptr rule, bool isBalooSearch) const
Definition: statusrulewidgethandler.cpp:199
bool handlesField(const QByteArray &field) const
Definition: statusrulewidgethandler.cpp:166
void reset(QStackedWidget *functionStack, QStackedWidget *valueStack) const
Definition: statusrulewidgethandler.cpp:173
void setCurrentWidget(QWidget *widget)
QString prettyValue(const QByteArray &field, const QStackedWidget *functionStack, const QStackedWidget *valueStack) const
Definition: statusrulewidgethandler.cpp:148
Definition: searchrule.h:56
static const struct @8 StatusFunctions[]
QWidget * createValueWidget(int number, QStackedWidget *valueStack, const QObject *receiver) const
Definition: statusrulewidgethandler.cpp:61
bool update(const QByteArray &field, QStackedWidget *functionStack, QStackedWidget *valueStack) const
Definition: statusrulewidgethandler.cpp:258
SearchRule::Function function(const QByteArray &field, const QStackedWidget *functionStack) const
Definition: statusrulewidgethandler.cpp:104
QWidget * createFunctionWidget(int number, QStackedWidget *functionStack, const QObject *receiver, bool isBalooSearch) const
Definition: statusrulewidgethandler.cpp:41
QString value(const QByteArray &field, const QStackedWidget *functionStack, const QStackedWidget *valueStack) const
Definition: statusrulewidgethandler.cpp:130
static const MessageStatusInfo StatusValues[]
Definition: searchrulestatus.h:35
QString fromLatin1(const char *str, int size)
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
T findChild(const QString &name) const
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:31:41 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:31:41 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.