Messagelib
8#include "messageviewer_export.h"
10namespace MessageViewer
16class MESSAGEVIEWER_EXPORT ScamDetectionInfo
19 enum ScamDetectionField : uint8_t {
25 Q_ENUMS(ScamDetectionField)
26 Q_DECLARE_FLAGS(ScamDetectionFields, ScamDetectionField)
31 [[nodiscard]]
const QString &domainOrEmail()
const;
32 void setDomainOrEmail(
const QString &newDomainOrEmail);
34 [[nodiscard]]
bool enabled()
const;
35 void setEnabled(
bool newEnabled);
37 [[nodiscard]]
bool isValid()
const;
39 [[nodiscard]] ScamDetectionInfo::ScamDetectionFields scamChecks()
const;
41 [[nodiscard]]
bool operator==(
const ScamDetectionInfo &other)
const;
44 ScamDetectionFields mFields = None;
46 bool mEnabled =
false;
The ScamDetectionInfo class.
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:47:40 by
doxygen 1.13.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.