kmsearchpatternedit.h
47 KMSearchRuleWidget( TQWidget* parent=0, KMSearchRule* aRule=0, const char* name=0, bool headersOnly = false, bool absoluteDates = false );
114 KMSearchRuleWidgetLister( TQWidget *parent=0, const char* name=0, bool headersOnly = false, bool absoluteDates = false );
174 KMSearchPatternEdit(TQWidget *parent=0, const char *name=0, bool headersOnly = false, bool absoluteDates = false);
177 KMSearchPatternEdit(const TQString & title, TQWidget *parent=0, const char *name=0, bool headersOnly = false, bool absoluteDates = false);
This class is an abstraction of a search over messages.
Definition: kmsearchpattern.h:308
int indexOfRuleField(const TQCString &aName) const
Used internally to find the corresponding index into the field ComboBox.
Definition: kmsearchpatternedit.cpp:228
void updateSearchPattern()
Updates the search pattern according to the current widget values.
Definition: kmsearchpatternedit.h:191
static TQCString ruleFieldToEnglish(const TQString &i18nVal)
Used internally to translate i18n-ized pseudo-headers back to english.
Definition: kmsearchpatternedit.cpp:199
void setHeadersOnly(bool headersOnly)
Set whether only header fields can be searched.
Definition: kmsearchpatternedit.cpp:75
Incoming mail is sent through the list of mail filter rules before it is placed in the associated mai...
Definition: kmsearchpattern.h:31
void fieldChanged(const TQString &)
This signal is emitted whenever the user alters the field.
void contentsChanged(const TQString &)
This signal is emitted whenever the user alters the contents/value of the rule.
This widget is intended to be used in the filter configuration as well as in the message search dialo...
Definition: kmsearchpatternedit.h:168
KMSearchRule * rule() const
Return a reference to the currently-worked-on KMSearchRule.
Definition: kmsearchpatternedit.cpp:159
void reset()
Resets the rule currently worked on and updates the widget accordingly.
Definition: kmsearchpatternedit.cpp:171
KMSearchRuleWidget(TQWidget *parent=0, KMSearchRule *aRule=0, const char *name=0, bool headersOnly=false, bool absoluteDates=false)
Constructor.
Definition: kmsearchpatternedit.cpp:57