34 #ifndef __KMAIL_SPAMHEADERANALYZER_H__ 35 #define __KMAIL_SPAMHEADERANALYZER_H__ 37 #include <tqvaluelist.h> 59 SpamScore( const TQString & agent, float score, const TQString & header ) 60 : mAgent( agent ), mScore( score ), mHeader( header ) {} 61 TQString agent() const { return mAgent; } 62 float score() const { return mScore; } 63 TQString spamHeader() const { return mHeader; } 70 typedef TQValueList<SpamScore> SpamScores; 71 typedef TQValueListIterator<SpamScore> SpamScoresIterator; 85 static SpamScores getSpamScores( const KMMessage *message ); 90 #endif // __KMAIL_SPAMHEADERANALYZER_H__
A simple tupel of agent, score and header.
|