MessageViewer::ScamDetectionInfo

Search for usage in LXR

MessageViewer::ScamDetectionInfo Class Reference

#include <scamdetectioninfo.h>

Public Types

enum  ScamDetectionField { None = 0 , DisableAll = 1 , RedirectUrl = 2 , HasIp = 4 }
 
typedef QFlags< ScamDetectionField > ScamDetectionFields
 

Public Member Functions

const QStringdomainOrEmail () const
 
bool enabled () const
 
bool isValid () const
 
bool operator== (const ScamDetectionInfo &other) const
 
ScamDetectionInfo::ScamDetectionFields scamChecks () const
 
void setDomainOrEmail (const QString &newDomainOrEmail)
 
void setEnabled (bool newEnabled)
 

Detailed Description

The ScamDetectionInfo class.

Author
Laurent Montel monte.nosp@m.l@kd.nosp@m.e.org

Definition at line 16 of file scamdetectioninfo.h.

Member Typedef Documentation

◆ ScamDetectionFields

Definition at line 26 of file scamdetectioninfo.h.

Member Enumeration Documentation

◆ ScamDetectionField

enum MessageViewer::ScamDetectionInfo::ScamDetectionField

Definition at line 19 of file scamdetectioninfo.h.

Member Function Documentation

◆ domainOrEmail()

const QString & ScamDetectionInfo::domainOrEmail ( ) const
nodiscard

Definition at line 14 of file scamdetectioninfo.cpp.

◆ enabled()

bool ScamDetectionInfo::enabled ( ) const
nodiscard

Definition at line 24 of file scamdetectioninfo.cpp.

◆ isValid()

bool ScamDetectionInfo::isValid ( ) const
nodiscard

Definition at line 34 of file scamdetectioninfo.cpp.

◆ operator==()

bool ScamDetectionInfo::operator== ( const ScamDetectionInfo & other) const
nodiscard

Definition at line 53 of file scamdetectioninfo.cpp.

◆ scamChecks()

ScamDetectionInfo::ScamDetectionFields ScamDetectionInfo::scamChecks ( ) const
nodiscard

Definition at line 39 of file scamdetectioninfo.cpp.

◆ setDomainOrEmail()

void ScamDetectionInfo::setDomainOrEmail ( const QString & newDomainOrEmail)

Definition at line 19 of file scamdetectioninfo.cpp.

◆ setEnabled()

void ScamDetectionInfo::setEnabled ( bool newEnabled)

Definition at line 29 of file scamdetectioninfo.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:07:26 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.