KMail::AntiSpamWizard::SpamToolConfig Class Reference

#include <antispamwizard.h>

Public Member Functions

 SpamToolConfig (TQString toolId, int configVersion, int prio, TQString name, TQString exec, TQString url, TQString filter, TQString detection, TQString spam, TQString ham, TQString header, TQString pattern, TQString pattern2, TQString serverPattern, bool detectionOnly, bool regExp, bool bayesFilter, bool tristateDetection, WizardMode type)
 
int getVersion () const
 
int getPrio () const
 
TQString getId () const
 
TQString getVisibleName () const
 
TQString getExecutable () const
 
TQString getWhatsThisText () const
 
TQString getFilterName () const
 
TQString getDetectCmd () const
 
TQString getSpamCmd () const
 
TQString getHamCmd () const
 
TQString getDetectionHeader () const
 
TQString getDetectionPattern () const
 
TQString getDetectionPattern2 () const
 
TQString getServerPattern () const
 
bool isServerBased () const
 
bool isDetectionOnly () const
 
bool isUseRegExp () const
 
bool useBayesFilter () const
 
bool hasTristateDetection () const
 
WizardMode getType () const
 
bool isSpamTool () const
 
bool isVirusTool () const
 

Detailed Description

Instances of this class store the settings for one tool as read from the config file.

Visible name and What's this text can not get translated!

Definition at line 132 of file antispamwizard.h.

Constructor & Destructor Documentation

◆ SpamToolConfig() [1/2]

KMail::AntiSpamWizard::SpamToolConfig::SpamToolConfig ( )
inline

Definition at line 135 of file antispamwizard.h.

◆ SpamToolConfig() [2/2]

AntiSpamWizard::SpamToolConfig::SpamToolConfig ( TQString  toolId,
int  configVersion,
int  prio,
TQString  name,
TQString  exec,
TQString  url,
TQString  filter,
TQString  detection,
TQString  spam,
TQString  ham,
TQString  header,
TQString  pattern,
TQString  pattern2,
TQString  serverPattern,
bool  detectionOnly,
bool  regExp,
bool  bayesFilter,
bool  tristateDetection,
WizardMode  type 
)

Definition at line 652 of file antispamwizard.cpp.

Member Function Documentation

◆ getDetectCmd()

TQString KMail::AntiSpamWizard::SpamToolConfig::getDetectCmd ( ) const
inline

Definition at line 151 of file antispamwizard.h.

◆ getDetectionHeader()

TQString KMail::AntiSpamWizard::SpamToolConfig::getDetectionHeader ( ) const
inline

Definition at line 154 of file antispamwizard.h.

◆ getDetectionPattern()

TQString KMail::AntiSpamWizard::SpamToolConfig::getDetectionPattern ( ) const
inline

Definition at line 155 of file antispamwizard.h.

◆ getDetectionPattern2()

TQString KMail::AntiSpamWizard::SpamToolConfig::getDetectionPattern2 ( ) const
inline

Definition at line 156 of file antispamwizard.h.

◆ getExecutable()

TQString KMail::AntiSpamWizard::SpamToolConfig::getExecutable ( ) const
inline

Definition at line 148 of file antispamwizard.h.

◆ getFilterName()

TQString KMail::AntiSpamWizard::SpamToolConfig::getFilterName ( ) const
inline

Definition at line 150 of file antispamwizard.h.

◆ getHamCmd()

TQString KMail::AntiSpamWizard::SpamToolConfig::getHamCmd ( ) const
inline

Definition at line 153 of file antispamwizard.h.

◆ getId()

TQString KMail::AntiSpamWizard::SpamToolConfig::getId ( ) const
inline

Definition at line 146 of file antispamwizard.h.

◆ getPrio()

int KMail::AntiSpamWizard::SpamToolConfig::getPrio ( ) const
inline

Definition at line 145 of file antispamwizard.h.

◆ getServerPattern()

TQString KMail::AntiSpamWizard::SpamToolConfig::getServerPattern ( ) const
inline

Definition at line 157 of file antispamwizard.h.

◆ getSpamCmd()

TQString KMail::AntiSpamWizard::SpamToolConfig::getSpamCmd ( ) const
inline

Definition at line 152 of file antispamwizard.h.

◆ getType()

WizardMode KMail::AntiSpamWizard::SpamToolConfig::getType ( ) const
inline

Definition at line 163 of file antispamwizard.h.

◆ getVersion()

int KMail::AntiSpamWizard::SpamToolConfig::getVersion ( ) const
inline

Definition at line 144 of file antispamwizard.h.

◆ getVisibleName()

TQString KMail::AntiSpamWizard::SpamToolConfig::getVisibleName ( ) const
inline

Definition at line 147 of file antispamwizard.h.

◆ getWhatsThisText()

TQString KMail::AntiSpamWizard::SpamToolConfig::getWhatsThisText ( ) const
inline

Definition at line 149 of file antispamwizard.h.

◆ hasTristateDetection()

bool KMail::AntiSpamWizard::SpamToolConfig::hasTristateDetection ( ) const
inline

Definition at line 162 of file antispamwizard.h.

◆ isDetectionOnly()

bool KMail::AntiSpamWizard::SpamToolConfig::isDetectionOnly ( ) const
inline

Definition at line 159 of file antispamwizard.h.

◆ isServerBased()

bool AntiSpamWizard::SpamToolConfig::isServerBased ( ) const

Definition at line 670 of file antispamwizard.cpp.

◆ isSpamTool()

bool KMail::AntiSpamWizard::SpamToolConfig::isSpamTool ( ) const
inline

Definition at line 165 of file antispamwizard.h.

◆ isUseRegExp()

bool KMail::AntiSpamWizard::SpamToolConfig::isUseRegExp ( ) const
inline

Definition at line 160 of file antispamwizard.h.

◆ isVirusTool()

bool KMail::AntiSpamWizard::SpamToolConfig::isVirusTool ( ) const
inline

Definition at line 166 of file antispamwizard.h.

◆ useBayesFilter()

bool KMail::AntiSpamWizard::SpamToolConfig::useBayesFilter ( ) const
inline

Definition at line 161 of file antispamwizard.h.


The documentation for this class was generated from the following files: