mailcommon
messagerulewidgethandler.cpp
Go to the documentation of this file.
61 if ( !( isBalooSearch && (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 ( ( isBalooSearch && (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
static const struct @5 MessageFunctions[]
Definition: regexplineedit.h:46
QString prettyValue(const QByteArray &field, const QStackedWidget *functionStack, const QStackedWidget *valueStack) const
Definition: messagerulewidgethandler.cpp:162
QString value(const QByteArray &field, const QStackedWidget *functionStack, const QStackedWidget *valueStack) const
Definition: messagerulewidgethandler.cpp:142
QWidget * createValueWidget(int number, QStackedWidget *valueStack, const QObject *receiver) const
Definition: messagerulewidgethandler.cpp:73
void setBuddy(QWidget *buddy)
SearchRule::Function function(const QByteArray &field, const QStackedWidget *functionStack) const
Definition: messagerulewidgethandler.cpp:116
void setCurrentWidget(QWidget *widget)
void setObjectName(const QString &name)
static const int MessageFunctionCount
Definition: messagerulewidgethandler.cpp:46
Definition: searchrule.h:56
bool setRule(QStackedWidget *functionStack, QStackedWidget *valueStack, const SearchRule::Ptr rule, bool isBalooSearch) const
Definition: messagerulewidgethandler.cpp:215
QWidget * createFunctionWidget(int number, QStackedWidget *functionStack, const QObject *receiver, bool isBalooSearch) const
Definition: messagerulewidgethandler.cpp:51
bool blockSignals(bool block)
bool update(const QByteArray &field, QStackedWidget *functionStack, QStackedWidget *valueStack) const
Definition: messagerulewidgethandler.cpp:273
void showEditButton(bool)
Definition: regexplineedit.cpp:107
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: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.