knode
#include <knarticlefilter.h>
Public Member Functions | |
KNArticleFilter (int id=-1) | |
KNArticleFilter (const KNArticleFilter &org) | |
~KNArticleFilter () | |
int | applyOn () |
int | count () const |
void | doFilter (KNGroup::Ptr g) |
void | doFilter (KNFolder::Ptr f) |
int | id () const |
bool | isEnabled () const |
bool | isSearchFilter () const |
void | load () |
bool | loaded () const |
bool | loadInfo () |
const QString & | name () |
void | save () |
void | setApplyOn (int i) |
void | setEnabled (bool l) |
void | setId (int i) |
void | setLoaded (bool l) |
void | setName (const QString &s) |
void | setSearchFilter (bool b) |
void | setTranslatedName (const QString &s) |
QString | translatedName () |
Protected Types | |
enum | ApOn { articles =0, threads =1 } |
Protected Member Functions | |
bool | applyFilter (KNRemoteArticle::Ptr a) |
bool | applyFilter (KNLocalArticle::Ptr a) |
Protected Attributes | |
KNode::RangeFilter | age |
ApOn | apon |
int | c_ount |
bool | e_nabled |
KNode::StringFilter | from |
int | i_d |
bool | l_oaded |
KNode::RangeFilter | lines |
KNode::StringFilter | messageId |
QString | n_ame |
KNode::StringFilter | references |
bool | s_earchFilter |
KNode::RangeFilter | score |
KNode::StatusFilter | status |
KNode::StringFilter | subject |
bool | translateName |
Detailed Description
Article filter.
Definition at line 33 of file knarticlefilter.h.
Member Enumeration Documentation
|
protected |
Enumerator | |
---|---|
articles | |
threads |
Definition at line 72 of file knarticlefilter.h.
Constructor & Destructor Documentation
|
explicit |
Definition at line 48 of file knarticlefilter.cpp.
KNArticleFilter::KNArticleFilter | ( | const KNArticleFilter & | org | ) |
Copy constructor.
Definition at line 55 of file knarticlefilter.cpp.
KNArticleFilter::~KNArticleFilter | ( | ) |
Definition at line 70 of file knarticlefilter.cpp.
Member Function Documentation
|
protected |
Definition at line 343 of file knarticlefilter.cpp.
|
protected |
Definition at line 369 of file knarticlefilter.cpp.
|
inline |
Definition at line 53 of file knarticlefilter.h.
|
inline |
Definition at line 51 of file knarticlefilter.h.
void KNArticleFilter::doFilter | ( | KNGroup::Ptr | g | ) |
Definition at line 183 of file knarticlefilter.cpp.
void KNArticleFilter::doFilter | ( | KNFolder::Ptr | f | ) |
Definition at line 285 of file knarticlefilter.cpp.
|
inline |
Definition at line 52 of file knarticlefilter.h.
|
inline |
Definition at line 57 of file knarticlefilter.h.
|
inline |
Definition at line 59 of file knarticlefilter.h.
void KNArticleFilter::load | ( | ) |
Definition at line 97 of file knarticlefilter.cpp.
|
inline |
Definition at line 58 of file knarticlefilter.h.
bool KNArticleFilter::loadInfo | ( | ) |
Definition at line 75 of file knarticlefilter.cpp.
|
inline |
Definition at line 54 of file knarticlefilter.h.
void KNArticleFilter::save | ( | ) |
Definition at line 137 of file knarticlefilter.cpp.
|
inline |
Definition at line 62 of file knarticlefilter.h.
|
inline |
Definition at line 67 of file knarticlefilter.h.
|
inline |
Definition at line 61 of file knarticlefilter.h.
|
inline |
Definition at line 63 of file knarticlefilter.h.
|
inline |
Definition at line 64 of file knarticlefilter.h.
|
inline |
Definition at line 68 of file knarticlefilter.h.
void KNArticleFilter::setTranslatedName | ( | const QString & | s | ) |
tries to retranslate the name to english
Definition at line 324 of file knarticlefilter.cpp.
QString KNArticleFilter::translatedName | ( | ) |
tries to translate the name
Definition at line 306 of file knarticlefilter.cpp.
Member Data Documentation
|
protected |
Definition at line 82 of file knarticlefilter.h.
|
protected |
Definition at line 79 of file knarticlefilter.h.
|
protected |
Definition at line 77 of file knarticlefilter.h.
|
protected |
Definition at line 78 of file knarticlefilter.h.
|
protected |
Definition at line 83 of file knarticlefilter.h.
|
protected |
Definition at line 77 of file knarticlefilter.h.
|
protected |
Definition at line 78 of file knarticlefilter.h.
|
protected |
Definition at line 82 of file knarticlefilter.h.
|
protected |
Definition at line 83 of file knarticlefilter.h.
|
protected |
Definition at line 76 of file knarticlefilter.h.
|
protected |
Definition at line 83 of file knarticlefilter.h.
|
protected |
Definition at line 78 of file knarticlefilter.h.
|
protected |
Definition at line 82 of file knarticlefilter.h.
|
protected |
Definition at line 81 of file knarticlefilter.h.
|
protected |
Definition at line 83 of file knarticlefilter.h.
|
protected |
Definition at line 78 of file knarticlefilter.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:58:37 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.