mailcommon
headersrulerwidgethandler.cpp
Go to the documentation of this file.
70 (HeaderFunctions[i].id == SearchRule::FuncIsInAddressbook || HeaderFunctions[i].id == SearchRule::FuncIsNotInAddressbook))) {
112 functionStack->findChild<PimCommon::MinimumComboBox*>( QLatin1String( "headerRuleFuncCombo" ) );
137 const RegExpLineEdit *lineEdit = valueStack->findChild<RegExpLineEdit*>( QLatin1String("regExpLineEdit") );
200 PimCommon::MinimumComboBox *funcCombo = functionStack->findChild<PimCommon::MinimumComboBox*>( QLatin1String("headerRuleFuncCombo") );
209 RegExpLineEdit *lineEdit = valueStack->findChild<RegExpLineEdit*>( QLatin1String("regExpLineEdit") );
247 PimCommon::MinimumComboBox *funcCombo = functionStack->findChild<PimCommon::MinimumComboBox*>( QLatin1String("headerRuleFuncCombo") );
292 functionStack->setCurrentWidget( functionStack->findChild<QWidget*>( QLatin1String("headerRuleFuncCombo") ) );
298 valueStack->setCurrentWidget( valueStack->findChild<QWidget*>( QLatin1String("headerRuleValueHider") ) );
SearchRule::Function function(const QByteArray &field, const QStackedWidget *functionStack) const
Definition: headersrulerwidgethandler.cpp:123
QWidget * createFunctionWidget(int number, QStackedWidget *functionStack, const QObject *receiver, bool isBalooSearch) const
Definition: headersrulerwidgethandler.cpp:59
Definition: regexplineedit.h:46
bool setRule(QStackedWidget *functionStack, QStackedWidget *valueStack, const SearchRule::Ptr rule, bool isBalooSearch) const
Definition: headersrulerwidgethandler.cpp:222
void setBuddy(QWidget *buddy)
void reset(QStackedWidget *functionStack, QStackedWidget *valueStack) const
Definition: headersrulerwidgethandler.cpp:196
void setCurrentWidget(QWidget *widget)
void setObjectName(const QString &name)
Definition: searchrule.h:56
QString prettyValue(const QByteArray &field, const QStackedWidget *functionStack, const QStackedWidget *valueStack) const
Definition: headersrulerwidgethandler.cpp:168
bool update(const QByteArray &field, QStackedWidget *functionStack, QStackedWidget *valueStack) const
Definition: headersrulerwidgethandler.cpp:283
static const struct @4 HeaderFunctions[]
bool blockSignals(bool block)
static const int HeadersFunctionCount
Definition: headersrulerwidgethandler.cpp:54
bool handlesField(const QByteArray &field) const
Definition: headersrulerwidgethandler.cpp:189
void showEditButton(bool)
Definition: regexplineedit.cpp:107
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
QString value(const QByteArray &field, const QStackedWidget *functionStack, const QStackedWidget *valueStack) const
Definition: headersrulerwidgethandler.cpp:149
QWidget * createValueWidget(int number, QStackedWidget *valueStack, const QObject *receiver) const
Definition: headersrulerwidgethandler.cpp:82
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.