akregator/src
Akregator::Filters::ArticleMatcher Class Reference
#include <articlefilter.h>
Inheritance diagram for Akregator::Filters::ArticleMatcher:

Detailed Description
a powerful matcher supporting multiple criterions, which can be combined via logical OR or AND
- Author:
- Frerich Raabe
Definition at line 212 of file articlefilter.h.
Public Types | |
None | |
LogicalAnd | |
LogicalOr | |
enum | Association { None, LogicalAnd, LogicalOr } |
Public Member Functions | |
ArticleMatcher () | |
ArticleMatcher (const QValueList< Criterion > &criteria, Association assoc) | |
ArticleMatcher (const ArticleMatcher &other) | |
virtual | ~ArticleMatcher () |
virtual bool | matchesAll () const |
ArticleMatcher & | operator= (const ArticleMatcher &other) |
virtual ArticleMatcher * | clone () const |
virtual bool | matches (const Article &article) const |
virtual bool | operator== (const AbstractMatcher &other) const |
virtual bool | operator!= (const AbstractMatcher &other) const |
virtual void | writeConfig (KConfig *config) const |
virtual void | readConfig (KConfig *config) |
Member Function Documentation
ArticleMatcher * Akregator::Filters::ArticleMatcher::clone | ( | ) | const [virtual] |
returns a copy of the matcher
Implements Akregator::Filters::AbstractMatcher.
Definition at line 234 of file articlefilter.cpp.
bool Akregator::Filters::ArticleMatcher::matchesAll | ( | ) | const [virtual] |
returns whether the matcher matches all articles anyway (empty criteria list), so there is no need to call matches() at all.
Definition at line 229 of file articlefilter.cpp.
The documentation for this class was generated from the following files: