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

messageviewer

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

#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.

Author
Patrick Audley paudl.nosp@m.ey@b.nosp@m.lackc.nosp@m.at.c.nosp@m.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 93 of file antispamconfig.h.

Constructor & Destructor Documentation

MessageViewer::AntiSpamConfig::~AntiSpamConfig ( )

Definition at line 73 of file antispamconfig.cpp.

Member Function Documentation

const SpamAgents MessageViewer::AntiSpamConfig::agents ( ) const
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.

AntiSpamConfig * MessageViewer::AntiSpamConfig::instance ( )
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:
  • antispamconfig.h
  • antispamconfig.cpp
This file is part of the KDE documentation.
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.

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

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