mailcommon
daterulewidgethandler.cpp
Go to the documentation of this file.
50 int number, QStackedWidget *functionStack, const QObject *receiver, bool /*isBalooSearch*/ ) const
79 dateCombo->setOptions( KDateComboBox::SelectDate | KDateComboBox::DatePicker | KDateComboBox::DateKeywords );
116 const KDateComboBox *dateInput = valueStack->findChild<KDateComboBox*>( QLatin1String("KDateComboBox") );
174 KDateComboBox *dateInput = valueStack->findChild<KDateComboBox*>( QLatin1String("KDateComboBox") );
220 KDateComboBox *dateInput = valueStack->findChild<KDateComboBox*>( QLatin1String("KDateComboBox") );
242 functionStack->setCurrentWidget( functionStack->findChild<QWidget*>( QLatin1String("dateRuleFuncCombo") ) );
245 KDateComboBox *dateInput = valueStack->findChild<KDateComboBox*>( QLatin1String("KDateComboBox") );
static const struct @3 DateFunctions[]
bool setRule(QStackedWidget *functionStack, QStackedWidget *valueStack, const SearchRule::Ptr rule, bool isBalooSearch) const
Definition: daterulewidgethandler.cpp:185
SearchRule::Function function(const QByteArray &field, const QStackedWidget *functionStack) const
Definition: daterulewidgethandler.cpp:102
bool handlesField(const QByteArray &field) const
Definition: daterulewidgethandler.cpp:153
QDate fromString(const QString &string, Qt::DateFormat format)
void setCurrentWidget(QWidget *widget)
Definition: searchrule.h:56
QWidget * createFunctionWidget(int number, QStackedWidget *functionStack, const QObject *receiver, bool isBalooSearch) const
Definition: daterulewidgethandler.cpp:49
QString prettyValue(const QByteArray &field, const QStackedWidget *functionStack, const QStackedWidget *valueStack) const
Definition: daterulewidgethandler.cpp:140
QString value(const QByteArray &field, const QStackedWidget *functionStack, const QStackedWidget *valueStack) const
Definition: daterulewidgethandler.cpp:127
QDate currentDate()
bool update(const QByteArray &field, QStackedWidget *functionStack, QStackedWidget *valueStack) const
Definition: daterulewidgethandler.cpp:233
void reset(QStackedWidget *functionStack, QStackedWidget *valueStack) const
Definition: daterulewidgethandler.cpp:160
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
QWidget * createValueWidget(int number, QStackedWidget *valueStack, const QObject *receiver) const
Definition: daterulewidgethandler.cpp:69
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.