mailcommon
#include <searchpatternedit.h>
Public Types | |
enum | SearchModeType { StandardMode = 0, NepomukMode = 1 } |
enum | SearchPatternEditOption { None = 0, HeadersOnly = 1, AbsoluteDate = 2, MatchAllMessages = 4, NotShowSize = 8, NotShowDate = 16 } |
Public Slots | |
void | reset () |
Signals | |
void | maybeNameChanged () |
void | patternChanged () |
void | returnPressed () |
Public Member Functions | |
SearchPatternEdit (QWidget *parent=0, SearchPatternEditOptions options=(SearchPatternEditOptions)(None), SearchModeType modeType=StandardMode) | |
~SearchPatternEdit () | |
void | setPatternEditOptions (SearchPatternEdit::SearchPatternEditOptions options) |
void | setSearchPattern (MailCommon::SearchPattern *aPattern) |
void | updateSearchPattern () |
Detailed Description
Definition at line 77 of file searchpatternedit.h.
Member Enumeration Documentation
Enumerator | |
---|---|
StandardMode | |
NepomukMode |
Definition at line 92 of file searchpatternedit.h.
Enumerator | |
---|---|
None | |
HeadersOnly | |
AbsoluteDate | |
MatchAllMessages | |
NotShowSize | |
NotShowDate |
Definition at line 82 of file searchpatternedit.h.
Constructor & Destructor Documentation
|
explicit |
Constructor.
The parent parameter is passed to the underlying QGroupBox, as usual.
Definition at line 580 of file searchpatternedit.cpp.
SearchPatternEdit::~SearchPatternEdit | ( | ) |
Definition at line 588 of file searchpatternedit.cpp.
Member Function Documentation
|
signal |
This signal is emitted whenever the name of the processed search pattern may have changed.
|
signal |
This signal is emitted wherenever the search pattern changes in some way.
|
slot |
Called when the widget should let go of the currently referenced filter and disable itself.
Definition at line 694 of file searchpatternedit.cpp.
|
signal |
void SearchPatternEdit::setPatternEditOptions | ( | SearchPatternEdit::SearchPatternEditOptions | options | ) |
Definition at line 597 of file searchpatternedit.cpp.
void SearchPatternEdit::setSearchPattern | ( | MailCommon::SearchPattern * | aPattern | ) |
Sets the search pattern.
Rules are inserted regardless of the return value of each rules' MailCommon::SearchRule::isEmpty. This widget makes a shallow copy of aPattern
and operates directly on it.
Definition at line 671 of file searchpatternedit.cpp.
void SearchPatternEdit::updateSearchPattern | ( | ) |
Updates the search pattern according to the current widget values.
Definition at line 592 of file searchpatternedit.cpp.
The documentation for this class was generated from the following files:
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.