MessageViewer::AntiSpamConfig

MessageViewer::AntiSpamConfig Class Reference

#include <antispamconfig.h>

Public Member Functions

const SpamAgents agents () const
 
const SpamAgents uniqueAgents () const
 

Static Public Member Functions

static AntiSpamConfiginstance ()
 

Detailed Description

Singleton to manage loading the kmail.antispamrc file.

Author
Patrick Audley paudl[email protected][email protected][email protected]lackc[email protected]at.c[email protected]a

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 105 of file antispamconfig.h.

Member Function Documentation

const SpamAgents AntiSpamConfig::agents ( ) const

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 24 of file antispamconfig.cpp.

const SpamAgents 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 70 of file antispamconfig.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Sat Aug 8 2020 23:11:31 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.