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);
void contentsChanged(const TQString &)
This signal is emitted whenever the user alters the contents/value of the rule.
void fieldChanged(const TQString &)
This signal is emitted whenever the user alters the field.
void maybeNameChanged()
This signal is emitted whenever the name of the processed search pattern may have changed.
Incoming mail is sent through the list of mail filter rules before it is placed in the associated mai...
Definition: kmsearchpattern.h:30
KMSearchPatternEdit(TQWidget *parent=0, const char *name=0, bool headersOnly=false, bool absoluteDates=false)
Constructor.
Definition: kmsearchpatternedit.cpp:393
void setSearchPattern(KMSearchPattern *aPattern)
Set the search pattern.
Definition: kmsearchpatternedit.cpp:442
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
void setHeadersOnly(bool headersOnly)
Set whether only header fields can be searched.
Definition: kmsearchpatternedit.cpp:74
static TQCString ruleFieldToEnglish(const TQString &i18nVal)
Used internally to translate i18n-ized pseudo-headers back to english.
Definition: kmsearchpatternedit.cpp:198
This widget is intended to be used in the filter configuration as well as in the message search dialo...
Definition: kmsearchpatternedit.h:167
void updateSearchPattern()
Updates the search pattern according to the current widget values.
Definition: kmsearchpatternedit.h:190
KMSearchRule * rule() const
Return a reference to the currently-worked-on KMSearchRule.
Definition: kmsearchpatternedit.cpp:158
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 setHeadersOnly(bool headersOnly)
Set whether only header fields can be searched.
Definition: kmsearchpatternedit.cpp:460
void reset()
Called when the widget should let go of the currently referenced filter and disable itself.
Definition: kmsearchpatternedit.cpp:465