kmsearchpatternedit.h
46 KMSearchRuleWidget( TQWidget* parent=0, KMSearchRule* aRule=0, const char* name=0, bool headersOnly = false, bool absoluteDates = false );
113 KMSearchRuleWidgetLister( TQWidget *parent=0, const char* name=0, bool headersOnly = false, bool absoluteDates = false );
173 KMSearchPatternEdit(TQWidget *parent=0, const char *name=0, bool headersOnly = false, bool absoluteDates = false);
176 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:307
int indexOfRuleField(const TQCString &aName) const
Used internally to find the corresponding index into the field ComboBox.
Definition: kmsearchpatternedit.cpp:227
void updateSearchPattern()
Updates the search pattern according to the current widget values.
Definition: kmsearchpatternedit.h:190
static TQCString ruleFieldToEnglish(const TQString &i18nVal)
Used internally to translate i18n-ized pseudo-headers back to english.
Definition: kmsearchpatternedit.cpp:198
void setHeadersOnly(bool headersOnly)
Set whether only header fields can be searched.
Definition: kmsearchpatternedit.cpp:74
Incoming mail is sent through the list of mail filter rules before it is placed in the associated mai...
Definition: kmsearchpattern.h:30
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:167
KMSearchRule * rule() const
Return a reference to the currently-worked-on KMSearchRule.
Definition: kmsearchpatternedit.cpp:158
void reset()
Resets the rule currently worked on and updates the widget accordingly.
Definition: kmsearchpatternedit.cpp:170
KMSearchRuleWidget(TQWidget *parent=0, KMSearchRule *aRule=0, const char *name=0, bool headersOnly=false, bool absoluteDates=false)
Constructor.
Definition: kmsearchpatternedit.cpp:56