• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdepim API Reference
  • KDE Home
  • Contact Us
 

messageviewer

  • MessageViewer
  • SpamScore
Public Member Functions | List of all members
MessageViewer::SpamScore Class Reference

#include <spamheaderanalyzer.h>

Public Member Functions

 SpamScore ()
 
 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 tupel 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 Unintialized struct used errorExtractingAgentString Error extracing 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 69 of file spamheaderanalyzer.h.

Constructor & Destructor Documentation

MessageViewer::SpamScore::SpamScore ( )
inline

Definition at line 72 of file spamheaderanalyzer.h.

MessageViewer::SpamScore::SpamScore ( const QString &  agent,
SpamError  error,
float  score,
float  confidence,
const QString &  header,
const QString &  cheader 
)
inline

Definition at line 77 of file spamheaderanalyzer.h.

Member Function Documentation

QString MessageViewer::SpamScore::agent ( ) const
inline

Definition at line 87 of file spamheaderanalyzer.h.

float MessageViewer::SpamScore::confidence ( ) const
inline

Definition at line 89 of file spamheaderanalyzer.h.

QString MessageViewer::SpamScore::confidenceHeader ( ) const
inline

Definition at line 92 of file spamheaderanalyzer.h.

SpamError MessageViewer::SpamScore::error ( ) const
inline

Definition at line 90 of file spamheaderanalyzer.h.

float MessageViewer::SpamScore::score ( ) const
inline

Definition at line 88 of file spamheaderanalyzer.h.

QString MessageViewer::SpamScore::spamHeader ( ) const
inline

Definition at line 91 of file spamheaderanalyzer.h.


The documentation for this class was generated from the following file:
  • spamheaderanalyzer.h
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:32:46 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

messageviewer

Skip menu "messageviewer"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdepim API Reference

Skip menu "kdepim API Reference"
  • akonadi_next
  • akregator
  • blogilo
  • calendarsupport
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt2
  • kjots
  • kleopatra
  • kmail
  • knode
  • knotes
  • kontact
  • korgac
  • korganizer
  • ktimetracker
  • libkdepim
  • libkleo
  • libkpgp
  • mailcommon
  • messagelist
  • messageviewer
  • pimprint

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal