messageviewer
spamheaderanalyzer.cpp
Go to the documentation of this file.
QString cap(int nth) const
For straight percentages between 0.0 and 100.0.
Definition: antispamconfig.h:50
void append(const T &value)
For straight percentages between 0.0 and 1.0 (BogoFilter)
Definition: antispamconfig.h:49
Definition: spamheaderanalyzer.h:45
const_iterator constEnd() const
bool isEmpty() const
static AntiSpamConfig * instance()
Definition: antispamconfig.cpp:55
Use this when we need to compare against a threshold (SpamAssasssin)
Definition: antispamconfig.h:51
static SpamScores getSpamScores(KMime::Message *message)
Extract scores from known anti-spam headers.
Definition: spamheaderanalyzer.cpp:53
A simple tupel of error, agent, score, confidence and header.
Definition: spamheaderanalyzer.h:69
int indexIn(const QString &str, int offset, CaretMode caretMode) const
bool isEmpty() const
const SpamAgents uniqueAgents() const
Returns a list of unique agents, found on the system.
Definition: antispamconfig.cpp:113
const_iterator constBegin() const
float toFloat(bool *ok) const
typedef const_iterator
Definition: spamheaderanalyzer.h:49
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:32:45 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:32:45 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.