mailcommon
numericrulewidgethandler.cpp
Go to the documentation of this file.
49 int number, QStackedWidget *functionStack, const QObject *receiver, bool /*isBalooSearch*/ ) const
115 const KIntNumInput *numInput = valueStack->findChild<KIntNumInput*>( QLatin1String("KIntNumInput") );
257 functionStack->setCurrentWidget( functionStack->findChild<QWidget*>( QLatin1String("numericRuleFuncCombo") ) );
SearchRule::Function function(const QByteArray &field, const QStackedWidget *functionStack) const
Definition: numericrulewidgethandler.cpp:101
QString value(const QByteArray &field, const QStackedWidget *functionStack, const QStackedWidget *valueStack) const
Definition: numericrulewidgethandler.cpp:126
void initNumInput(KIntNumInput *numInput, const QByteArray &field)
Definition: numericrulewidgethandler.cpp:184
QString number(int n, int base)
void reset(QStackedWidget *functionStack, QStackedWidget *valueStack) const
Definition: numericrulewidgethandler.cpp:159
void setCurrentWidget(QWidget *widget)
int toInt(bool *ok, int base) const
Definition: searchrule.h:56
static const int NumericFunctionCount
Definition: numericrulewidgethandler.cpp:43
bool update(const QByteArray &field, QStackedWidget *functionStack, QStackedWidget *valueStack) const
Definition: numericrulewidgethandler.cpp:248
QString prettyValue(const QByteArray &field, const QStackedWidget *functionStack, const QStackedWidget *valueStack) const
Definition: numericrulewidgethandler.cpp:139
bool handlesField(const QByteArray &field) const
Definition: numericrulewidgethandler.cpp:152
bool setRule(QStackedWidget *functionStack, QStackedWidget *valueStack, const SearchRule::Ptr rule, bool isBalooSearch) const
Definition: numericrulewidgethandler.cpp:195
static const struct @7 NumericFunctions[]
QWidget * createFunctionWidget(int number, QStackedWidget *functionStack, const QObject *receiver, bool isBalooSearch) const
Definition: numericrulewidgethandler.cpp:48
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
QWidget * createValueWidget(int number, QStackedWidget *valueStack, const QObject *receiver) const
Definition: numericrulewidgethandler.cpp:68
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:40 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:40 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.