KMail::SpamScore Class Reference
A simple tupel of agent, score and header. More...
#include <spamheaderanalyzer.h>
Public Member Functions
- SpamScore (const QString &agent, float score, const QString &header)
- QString agent () const
- float score () const
- QString spamHeader () const
Detailed Description
A simple tupel of agent, score and header.The score returned is positive if no error has occured. Negative values indicate the following errors: -1.0 Unintialized struct used -2.0 Error extracing agent string -3.0 Couldn't convert score to float -4.0 Couldn't convert threshold to float or threshold is negative -5.0 Couldn't find the score field -6.0 Couldn't find the threshold field
The documentation for this class was generated from the following file:
- spamheaderanalyzer.h