messageviewer
#include <antispamconfig.h>
Public Member Functions | |
~AntiSpamConfig () | |
const SpamAgents | agents () const |
const SpamAgents | uniqueAgents () const |
Static Public Member Functions | |
static AntiSpamConfig * | instance () |
Detailed Description
Singleton to manage loading the kmail.antispamrc file.
Use of this config-manager class is straight forward. Since it is a singleton object, all you have to do is obtain an instance by calling SpamConfig::instance()
and use any of the public member functions.
Definition at line 93 of file antispamconfig.h.
Constructor & Destructor Documentation
MessageViewer::AntiSpamConfig::~AntiSpamConfig | ( | ) |
Definition at line 73 of file antispamconfig.cpp.
Member Function Documentation
|
inline |
Returns a list of all agents found on the system.
This might list SA twice, if both the C and the Perl version are present.
Definition at line 107 of file antispamconfig.h.
|
static |
Definition at line 55 of file antispamconfig.cpp.
const SpamAgents MessageViewer::AntiSpamConfig::uniqueAgents | ( | ) | const |
Returns a list of unique agents, found on the system.
SpamAssassin will only be listed once, even if both the C and the Perl version are installed.
Definition at line 113 of file antispamconfig.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:55:58 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.