Messagelib
10#include <Akonadi/Attribute>
12namespace MessageViewer
14class ScamAttributePrivate;
16class ScamAttribute :
public Akonadi::Attribute
19 explicit ScamAttribute();
20 ~ScamAttribute()
override;
22 [[nodiscard]] ScamAttribute *clone()
const override;
23 [[nodiscard]] QByteArray type()
const override;
24 [[nodiscard]] QByteArray serialized()
const override;
25 void deserialize(
const QByteArray &data)
override;
27 [[nodiscard]]
bool isAScam()
const;
28 void setIsAScam(
bool b);
30 [[nodiscard]]
bool operator==(
const ScamAttribute &other)
const;
33 friend class ScamAttributePrivate;
34 std::unique_ptr<ScamAttributePrivate>
const d;
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Feb 21 2025 11:47:09 by
doxygen 1.13.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.