mailcommon
tagrulewidgethandler.cpp
Go to the documentation of this file.
64 if (TagFunctions[i].id == SearchRule::FuncContains || TagFunctions[i].id == SearchRule::FuncContainsNot) {
208 PimCommon::MinimumComboBox *tagCombo = valueStack->findChild<PimCommon::MinimumComboBox*>( QLatin1String("tagRuleValueCombo") );
261 RegExpLineEdit *lineEdit = valueStack->findChild<RegExpLineEdit*>( QLatin1String("tagRuleRegExpLineEdit") );
315 functionStack->setCurrentWidget( functionStack->findChild<QWidget*>( QLatin1String("tagRuleFuncCombo") ) );
320 valueStack->setCurrentWidget( valueStack->findChild<QWidget*>( QLatin1String("tagRuleRegExpLineEdit" )) );
322 valueStack->setCurrentWidget( valueStack->findChild<QWidget*>( QLatin1String("tagRuleValueCombo") ) );
QString prettyValue(const QByteArray &field, const QStackedWidget *functionStack, const QStackedWidget *valueStack) const
Definition: tagrulewidgethandler.cpp:167
Definition: regexplineedit.h:46
void reset(QStackedWidget *functionStack, QStackedWidget *valueStack) const
Definition: tagrulewidgethandler.cpp:183
QString value(const QByteArray &field, const QStackedWidget *functionStack, const QStackedWidget *valueStack) const
Definition: tagrulewidgethandler.cpp:133
boost::shared_ptr< SearchRule > Ptr
Defines a pointer to a search rule.
Definition: searchpattern.h:69
bool handlesField(const QByteArray &field) const
Definition: tagrulewidgethandler.cpp:176
bool setRule(QStackedWidget *functionStack, QStackedWidget *valueStack, const SearchRule::Ptr rule, bool isNepomukSearch) const
Definition: tagrulewidgethandler.cpp:218
SearchRule::Function function(const QByteArray &field, const QStackedWidget *functionStack) const
Definition: tagrulewidgethandler.cpp:115
bool update(const QByteArray &field, QStackedWidget *functionStack, QStackedWidget *valueStack) const
Definition: tagrulewidgethandler.cpp:306
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:79
QWidget * createFunctionWidget(int number, QStackedWidget *functionStack, const QObject *receiver, bool isNepomukSearch) const
Definition: tagrulewidgethandler.cpp:53
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:55:15 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:55:15 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.