mailcommon
searchpatternedit.h
Go to the documentation of this file.
83 None = 0,
84 HeadersOnly = 1,
85 NotShowAbsoluteDate = 2,
86 MatchAllMessages = 4,
87 NotShowSize = 8,
88 NotShowDate = 16,
89 NotShowTags = 32
94 StandardMode = 0,
95 BalooMode = 1
185 SearchPatternEdit::SearchPatternEditOptions options = (SearchPatternEdit::SearchPatternEditOptions) (SearchPatternEdit::None),
293 SearchPatternEdit::SearchPatternEditOptions opt = (SearchPatternEdit::SearchPatternEditOptions) (SearchPatternEdit::None),
virtual QWidget * createWidget(QWidget *parent)
Definition: searchpatternedit.cpp:548
void slotRuleFieldChanged(const QString &)
Definition: searchpatternedit.cpp:409
virtual void clearWidget(QWidget *aWidget)
Definition: searchpatternedit.cpp:556
void contentsChanged(const QString &)
This signal is emitted whenever the user alters the contents/value of the rule.
void slotFunctionChanged()
Definition: searchpatternedit.cpp:291
void removeWidget(QWidget *)
void slotReturnPressed()
Definition: searchpatternedit.cpp:311
void addWidget(QWidget *)
void slotRemoveWidget()
Definition: searchpatternedit.cpp:239
void slotAddWidget()
Definition: searchpatternedit.cpp:234
void slotAddWidget(QWidget *)
Definition: searchpatternedit.cpp:493
void returnPressed()
SearchRuleWidget(QWidget *parent=0, MailCommon::SearchRule::Ptr aRule=MailCommon::SearchRule::Ptr(), SearchPatternEdit::SearchPatternEditOptions options=(SearchPatternEdit::SearchPatternEditOptions)(SearchPatternEdit::None), SearchPatternEdit::SearchModeType modeType=SearchPatternEdit::StandardMode)
Constructor.
Definition: searchpatternedit.cpp:88
void reset()
Resets the rule currently worked on and updates the widget accordingly.
Definition: searchpatternedit.cpp:281
A widget to edit a single MailCommon::SearchRule.
Definition: searchpatternedit.h:174
static QByteArray ruleFieldToEnglish(const QString &i18nVal)
Used internally to translate i18n-ized pseudo-headers back to English.
Definition: searchpatternedit.cpp:316
This class is an abstraction of a search over messages.
Definition: searchpattern.h:79
void updateAddRemoveButton(bool addButtonEnabled, bool removeButtonEnabled)
Definition: searchpatternedit.cpp:228
void setPatternEditOptions(MailCommon::SearchPatternEdit::SearchPatternEditOptions options)
Definition: searchpatternedit.cpp:106
void setPatternEditOptions(SearchPatternEdit::SearchPatternEditOptions options)
Definition: searchpatternedit.cpp:434
void setRuleList(QList< MailCommon::SearchRule::Ptr > *aList)
Definition: searchpatternedit.cpp:442
static int ruleFieldToId(const QString &i18nVal)
Definition: searchpatternedit.cpp:326
MailCommon::SearchRule::Ptr rule() const
Returns a reference to the currently-worked-on MailCommon::SearchRule.
Definition: searchpatternedit.cpp:268
void fieldChanged(const QString &)
This signal is emitted whenever the user alters the field.
void slotValueChanged()
Definition: searchpatternedit.cpp:301
int indexOfRuleField(const QByteArray &aName) const
Used internally to find the corresponding index into the field ComboBox.
Definition: searchpatternedit.cpp:346
QObject * parent() const
void slotRemoveWidget(QWidget *)
Definition: searchpatternedit.cpp:499
SearchPatternEditOption
Definition: searchpatternedit.h:82
SearchRuleWidgetLister(QWidget *parent=0, SearchPatternEdit::SearchPatternEditOptions opt=(SearchPatternEdit::SearchPatternEditOptions)(SearchPatternEdit::None), SearchPatternEdit::SearchModeType modeType=SearchPatternEdit::StandardMode)
Definition: searchpatternedit.cpp:421
virtual ~SearchRuleWidgetLister()
Definition: searchpatternedit.cpp:430
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.