libkdepim
KScoringRule Class Reference
List of all members.Detailed Description
Definition at line 220 of file kscoring.h.
Public Types | |
| enum | LinkMode { AND, OR } |
| typedef QPtrList< KScoringExpression > | ScoreExprList |
| typedef QPtrList< ActionBase > | ActionList |
| typedef QStringList | GroupList |
Public Member Functions | |
| KScoringRule (const QString &name) | |
| KScoringRule (const KScoringRule &r) | |
| ~KScoringRule () | |
| QString | getName () const |
| QStringList | getGroups () const |
| void | setGroups (const QStringList &l) |
| LinkMode | getLinkMode () const |
| QString | getLinkModeName () const |
| QString | getExpireDateString () const |
| QDate | getExpireDate () const |
| void | setExpireDate (const QDate &d) |
| bool | isExpired () const |
| ScoreExprList | getExpressions () const |
| ActionList | getActions () const |
| void | cleanExpressions () |
| void | cleanActions () |
| bool | matchGroup (const QString &group) const |
| void | applyRule (ScorableArticle &a) const |
| void | applyRule (ScorableArticle &a, const QString &group) const |
| void | applyAction (ScorableArticle &a) const |
| void | setLinkMode (const QString &link) |
| void | setLinkMode (LinkMode m) |
| void | setExpire (const QString &exp) |
| void | addExpression (KScoringExpression *) |
| void | addGroup (const QString &group) |
| void | addAction (int, const QString &) |
| void | addAction (ActionBase *) |
| void | updateXML (QDomElement &e, QDomDocument &d) |
| QString | toString () const |
| void | write (QTextStream &) const |
Protected Member Functions | |
| void | setName (const QString &n) |
Friends | |
| class | KScoringManager |
Member Function Documentation
| void KScoringRule::setName | ( | const QString & | n | ) | [inline, protected] |
The documentation for this class was generated from the following files:

