mailcommon
tagrulewidgethandler.cpp
Go to the documentation of this file.
130 if (TagFunctions[i].id == SearchRule::FuncContains || TagFunctions[i].id == SearchRule::FuncContainsNot) {
272 PimCommon::MinimumComboBox *tagCombo = valueStack->findChild<PimCommon::MinimumComboBox*>( QLatin1String("tagRuleValueCombo") );
325 RegExpLineEdit *lineEdit = valueStack->findChild<RegExpLineEdit*>( QLatin1String("tagRuleRegExpLineEdit") );
376 functionStack->setCurrentWidget( functionStack->findChild<QWidget*>( QLatin1String("tagRuleFuncCombo") ) );
381 valueStack->setCurrentWidget( valueStack->findChild<QWidget*>( QLatin1String("tagRuleRegExpLineEdit" )) );
383 valueStack->setCurrentWidget( valueStack->findChild<QWidget*>( QLatin1String("tagRuleValueCombo") ) );
QString prettyValue(const QByteArray &field, const QStackedWidget *functionStack, const QStackedWidget *valueStack) const
Definition: tagrulewidgethandler.cpp:231
void setText(const QString &)
Definition: regexplineedit.h:46
void reset(QStackedWidget *functionStack, QStackedWidget *valueStack) const
Definition: tagrulewidgethandler.cpp:247
QString value(const QByteArray &field, const QStackedWidget *functionStack, const QStackedWidget *valueStack) const
Definition: tagrulewidgethandler.cpp:197
bool handlesField(const QByteArray &field) const
Definition: tagrulewidgethandler.cpp:240
SearchRule::Function function(const QByteArray &field, const QStackedWidget *functionStack) const
Definition: tagrulewidgethandler.cpp:179
void setCurrentWidget(QWidget *widget)
bool update(const QByteArray &field, QStackedWidget *functionStack, QStackedWidget *valueStack) const
Definition: tagrulewidgethandler.cpp:367
void setObjectName(const QString &name)
Definition: searchrule.h:56
bool setRule(QStackedWidget *functionStack, QStackedWidget *valueStack, const SearchRule::Ptr rule, bool isBalooSearch) const
Definition: tagrulewidgethandler.cpp:282
bool blockSignals(bool block)
static const struct @9 TagFunctions[]
void showEditButton(bool)
Definition: regexplineedit.cpp:107
QWidget * createValueWidget(int number, QStackedWidget *valueStack, const QObject *receiver) const
Definition: tagrulewidgethandler.cpp:145
QWidget * createFunctionWidget(int number, QStackedWidget *functionStack, const QObject *receiver, bool isBalooSearch) const
Definition: tagrulewidgethandler.cpp:119
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.