knode
#include <kscoring.h>
Public Types | |
typedef Q3PtrList< ActionBase > | ActionList |
typedef QStringList | GroupList |
enum | LinkMode { AND, OR } |
typedef Q3PtrList < KScoringExpression > | ScoreExprList |
Protected Member Functions | |
void | setName (const QString &n) |
Detailed Description
Definition at line 227 of file kscoring.h.
Member Typedef Documentation
Definition at line 236 of file kscoring.h.
Definition at line 237 of file kscoring.h.
Definition at line 235 of file kscoring.h.
Member Enumeration Documentation
Enumerator | |
---|---|
AND | |
OR |
Definition at line 238 of file kscoring.h.
Constructor & Destructor Documentation
|
explicit |
Definition at line 634 of file kscoring.cpp.
KScoringRule::KScoringRule | ( | const KScoringRule & | r | ) |
Definition at line 641 of file kscoring.cpp.
KScoringRule::~KScoringRule | ( | ) |
Definition at line 669 of file kscoring.cpp.
Member Function Documentation
void KScoringRule::addAction | ( | int | type, |
const QString & | val | ||
) |
Definition at line 693 of file kscoring.cpp.
void KScoringRule::addAction | ( | ActionBase * | a | ) |
Definition at line 699 of file kscoring.cpp.
void KScoringRule::addExpression | ( | KScoringExpression * | expr | ) |
Definition at line 687 of file kscoring.cpp.
|
inline |
Definition at line 266 of file kscoring.h.
void KScoringRule::applyAction | ( | ScorableArticle & | a | ) | const |
Definition at line 735 of file kscoring.cpp.
void KScoringRule::applyRule | ( | ScorableArticle & | a | ) | const |
Definition at line 743 of file kscoring.cpp.
void KScoringRule::applyRule | ( | ScorableArticle & | a, |
const QString & | group | ||
) | const |
Definition at line 763 of file kscoring.cpp.
void KScoringRule::cleanActions | ( | ) |
Definition at line 681 of file kscoring.cpp.
void KScoringRule::cleanExpressions | ( | ) |
Definition at line 675 of file kscoring.cpp.
|
inline |
Definition at line 253 of file kscoring.h.
|
inline |
Definition at line 249 of file kscoring.h.
QString KScoringRule::getExpireDateString | ( | ) | const |
Definition at line 814 of file kscoring.cpp.
|
inline |
Definition at line 252 of file kscoring.h.
|
inline |
Definition at line 244 of file kscoring.h.
|
inline |
Definition at line 246 of file kscoring.h.
QString KScoringRule::getLinkModeName | ( | ) | const |
Definition at line 802 of file kscoring.cpp.
|
inline |
Definition at line 243 of file kscoring.h.
bool KScoringRule::isExpired | ( | ) | const |
Definition at line 826 of file kscoring.cpp.
bool KScoringRule::matchGroup | ( | const QString & | group | ) | const |
Definition at line 724 of file kscoring.cpp.
void KScoringRule::setExpire | ( | const QString & | exp | ) |
Definition at line 714 of file kscoring.cpp.
|
inline |
Definition at line 250 of file kscoring.h.
|
inline |
Definition at line 245 of file kscoring.h.
void KScoringRule::setLinkMode | ( | const QString & | link | ) |
Definition at line 705 of file kscoring.cpp.
|
inline |
Definition at line 263 of file kscoring.h.
|
inlineprotected |
assert that the name is unique
Definition at line 278 of file kscoring.h.
QString KScoringRule::toString | ( | ) | const |
Definition at line 779 of file kscoring.cpp.
void KPIM::KScoringRule::updateXML | ( | QDomElement & | e, |
QDomDocument & | d | ||
) |
void KScoringRule::write | ( | QTextStream & | s | ) | const |
Definition at line 774 of file kscoring.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:34:19 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.