mailcommon
searchpatternedit.h
Go to the documentation of this file.
83 None = 0,
84 HeadersOnly = 1,
85 AbsoluteDate = 2,
86 MatchAllMessages = 4,
87 NotShowSize = 8,
88 NotShowDate = 16
93 StandardMode = 0,
94 NepomukMode = 1
184 SearchPatternEdit::SearchPatternEditOptions options = (SearchPatternEdit::SearchPatternEditOptions) (SearchPatternEdit::None),
292 SearchPatternEdit::SearchPatternEditOptions opt = (SearchPatternEdit::SearchPatternEditOptions) (SearchPatternEdit::None),
virtual QWidget * createWidget(QWidget *parent)
Definition: searchpatternedit.cpp:539
void slotRuleFieldChanged(const QString &)
Definition: searchpatternedit.cpp:400
virtual void clearWidget(QWidget *aWidget)
Definition: searchpatternedit.cpp:547
void contentsChanged(const QString &)
This signal is emitted whenever the user alters the contents/value of the rule.
void slotFunctionChanged()
Definition: searchpatternedit.cpp:285
void removeWidget(QWidget *)
void slotReturnPressed()
Definition: searchpatternedit.cpp:305
void addWidget(QWidget *)
void slotRemoveWidget()
Definition: searchpatternedit.cpp:233
boost::shared_ptr< SearchRule > Ptr
Defines a pointer to a search rule.
Definition: searchpattern.h:69
void slotAddWidget()
Definition: searchpatternedit.cpp:228
void slotAddWidget(QWidget *)
Definition: searchpatternedit.cpp:484
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:275
A widget to edit a single MailCommon::SearchRule.
Definition: searchpatternedit.h:173
static QByteArray ruleFieldToEnglish(const QString &i18nVal)
Used internally to translate i18n-ized pseudo-headers back to English.
Definition: searchpatternedit.cpp:310
This class is an abstraction of a search over messages.
Definition: searchpattern.h:595
void updateAddRemoveButton(bool addButtonEnabled, bool removeButtonEnabled)
Definition: searchpatternedit.cpp:222
void setPatternEditOptions(MailCommon::SearchPatternEdit::SearchPatternEditOptions options)
Definition: searchpatternedit.cpp:106
void setPatternEditOptions(SearchPatternEdit::SearchPatternEditOptions options)
Definition: searchpatternedit.cpp:425
void setRuleList(QList< MailCommon::SearchRule::Ptr > *aList)
Definition: searchpatternedit.cpp:433
static int ruleFieldToId(const QString &i18nVal)
Definition: searchpatternedit.cpp:320
MailCommon::SearchRule::Ptr rule() const
Returns a reference to the currently-worked-on MailCommon::SearchRule.
Definition: searchpatternedit.cpp:262
void fieldChanged(const QString &)
This signal is emitted whenever the user alters the field.
void slotValueChanged()
Definition: searchpatternedit.cpp:295
int indexOfRuleField(const QByteArray &aName) const
Used internally to find the corresponding index into the field ComboBox.
Definition: searchpatternedit.cpp:340
void slotRemoveWidget(QWidget *)
Definition: searchpatternedit.cpp:490
SearchPatternEditOption
Definition: searchpatternedit.h:82
SearchRuleWidgetLister(QWidget *parent=0, SearchPatternEdit::SearchPatternEditOptions opt=(SearchPatternEdit::SearchPatternEditOptions)(SearchPatternEdit::None), SearchPatternEdit::SearchModeType modeType=SearchPatternEdit::StandardMode)
Definition: searchpatternedit.cpp:412
virtual ~SearchRuleWidgetLister()
Definition: searchpatternedit.cpp:421
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.