KMSearchRuleStatus Class Reference
This class represents a search to be performed against the status of a messsage. This class represents a search pattern rule operating on message status. More...
#include <kmsearchpattern.h>
Inheritance diagram for KMSearchRuleStatus:

Public Methods | |
KMSearchRuleStatus (const QCString &field=0, Function function=FuncContains, const QString &contents=QString::null) | |
virtual bool | isEmpty () const |
virtual bool | matches (const KMMessage *msg) const |
virtual bool | matches (const DwString &, KMMessage &, const DwBoyerMoore *, int) const |
Detailed Description
This class represents a search to be performed against the status of a messsage. This class represents a search pattern rule operating on message status.The status is represented by a bitfield.
Definition at line 210 of file kmsearchpattern.h.
Member Function Documentation
|
Determine whether the rule is worth considering. It isn't if either the field is not set or the contents is empty. KFilter should make sure that it's rule list contains only non-empty rules, as matches doesn't check this. Implements KMSearchRule. Definition at line 468 of file kmsearchpattern.cpp. References KMSearchRule::contents(), KMSearchRule::field(), QString::isEmpty(), and QCString::stripWhiteSpace(). |
|
Tries to match the rule against the given KMMessage.
Implements KMSearchRule. Definition at line 480 of file kmsearchpattern.cpp. References KMSearchRule::function(). |
|
Optimized version tries to match the rule against the given DwString.
Reimplemented from KMSearchRule. Definition at line 473 of file kmsearchpattern.cpp. |
The documentation for this class was generated from the following files: