MessageViewer::SpamScore

Search for usage in LXR

MessageViewer::SpamScore Class Reference

#include <spamheaderanalyzer.h>

Public Member Functions

 SpamScore (const QString &agent, SpamError error, float score, float confidence, const QString &header, const QString &cheader)
 
QString agent () const
 
float confidence () const
 
QString confidenceHeader () const
 
SpamError error () const
 
float score () const
 
QString spamHeader () const
 

Detailed Description

A simple tuple of error, agent, score, confidence and header.

The score returned is positive if no error has occurred. error values indicate the following errors: noError Spam Headers successfully parsed uninitializedStructUsed Uninitialized struct used errorExtractingAgentString Error extracting agent string couldNotConverScoreToFloat Couldn't convert score to float couldNotConvertThresholdToFloatOrThresholdIsNegative Couldn't convert threshold to float or threshold is negative couldNotFindTheScoreField Couldn't find the score field couldNotFindTheThresholdField Couldn't find the threshold field couldNotConvertConfidenceToFloat Couldn't convert confidence to float

Definition at line 45 of file spamheaderanalyzer.h.


The documentation for this class was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon May 8 2023 04:02:36 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.