akregator/src

Akregator::Filters::ArticleFilter Class Reference

#include <articlefilter.h>

Public Member Functions

 ArticleFilter (const AbstractMatcher &matcher, const AbstractAction &action)
 
 ArticleFilter (const ArticleFilter &other)
 
void applyTo (Article &article) const
 
const TQString & name () const
 
void setName (const TQString &name)
 
int id () const
 
AbstractMatchermatcher () const
 
void setMatcher (const AbstractMatcher &matcher)
 
AbstractAction * action () const
 
void setAction (const AbstractAction &action)
 
ArticleFilteroperator= (const ArticleFilter &other)
 
bool operator== (const ArticleFilter &other) const
 
void writeConfig (TDEConfig *config) const
 
void readConfig (TDEConfig *config)
 

Detailed Description

an article filter, basically a matcher and an action.

Author
Frank Osterfeld

Definition at line 50 of file articlefilter.h.

Member Function Documentation

◆ applyTo()

void Akregator::Filters::ArticleFilter::applyTo ( Article article) const

checks whether an article matches the matcher, and executes the action if so

Definition at line 709 of file articlefilter.cpp.

◆ name()

const TQString & Akregator::Filters::ArticleFilter::name ( ) const

name of the filter, for display in filter list

Definition at line 704 of file articlefilter.cpp.


The documentation for this class was generated from the following files: