mailcommon
messagerulewidgethandler.cpp
Go to the documentation of this file.
61 if ( !( isNepomukSearch && (MessageFunctions[i].id == SearchRule::FuncHasAttachment || MessageFunctions[i].id == SearchRule::FuncHasNoAttachment) )) {
131 const RegExpLineEdit *lineEdit = valueStack->findChild<RegExpLineEdit*>( QLatin1String("regExpLineEdit") );
193 PimCommon::MinimumComboBox *funcCombo = functionStack->findChild<PimCommon::MinimumComboBox*>( QLatin1String("messageRuleFuncCombo") );
202 RegExpLineEdit *lineEdit = valueStack->findChild<RegExpLineEdit*>( QLatin1String("regExpLineEdit") );
226 if ( ( isNepomukSearch && (func == SearchRule::FuncHasAttachment || func == SearchRule::FuncHasNoAttachment) )) {
257 RegExpLineEdit *lineEdit = valueStack->findChild<RegExpLineEdit*>(QLatin1String( "regExpLineEdit") );
282 functionStack->setCurrentWidget( functionStack->findChild<QWidget*>( QLatin1String("messageRuleFuncCombo") ) );
291 RegExpLineEdit *lineEdit = valueStack->findChild<RegExpLineEdit*>( QLatin1String("regExpLineEdit") );
void reset(QStackedWidget *functionStack, QStackedWidget *valueStack) const
Definition: messagerulewidgethandler.cpp:189
bool handlesField(const QByteArray &field) const
Definition: messagerulewidgethandler.cpp:182
Definition: regexplineedit.h:46
QString prettyValue(const QByteArray &field, const QStackedWidget *functionStack, const QStackedWidget *valueStack) const
Definition: messagerulewidgethandler.cpp:162
bool setRule(QStackedWidget *functionStack, QStackedWidget *valueStack, const SearchRule::Ptr rule, bool isNepomukSearch) const
Definition: messagerulewidgethandler.cpp:215
QString value(const QByteArray &field, const QStackedWidget *functionStack, const QStackedWidget *valueStack) const
Definition: messagerulewidgethandler.cpp:142
boost::shared_ptr< SearchRule > Ptr
Defines a pointer to a search rule.
Definition: searchpattern.h:69
QWidget * createValueWidget(int number, QStackedWidget *valueStack, const QObject *receiver) const
Definition: messagerulewidgethandler.cpp:73
SearchRule::Function function(const QByteArray &field, const QStackedWidget *functionStack) const
Definition: messagerulewidgethandler.cpp:116
static const int MessageFunctionCount
Definition: messagerulewidgethandler.cpp:46
static const struct @3 MessageFunctions[]
bool update(const QByteArray &field, QStackedWidget *functionStack, QStackedWidget *valueStack) const
Definition: messagerulewidgethandler.cpp:273
void showEditButton(bool)
Definition: regexplineedit.cpp:107
QWidget * createFunctionWidget(int number, QStackedWidget *functionStack, const QObject *receiver, bool isNepomukSearch) const
Definition: messagerulewidgethandler.cpp:51
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.