Messagelib

dkimresultattribute.h
1 /*
2  SPDX-FileCopyrightText: 2019-2021 Laurent Montel <[email protected]>
3 
4  SPDX-License-Identifier: LGPL-2.0-or-later
5 */
6 #pragma once
7 
8 #include "messageviewer_private_export.h"
9 #include <Akonadi/Attribute>
10 #include <memory>
11 namespace MessageViewer
12 {
13 class DKIMResultAttributePrivate;
14 
15 class MESSAGEVIEWER_TESTS_EXPORT DKIMResultAttribute : public Akonadi::Attribute
16 {
17 public:
18  DKIMResultAttribute();
19  ~DKIMResultAttribute() override;
20  Q_REQUIRED_RESULT DKIMResultAttribute *clone() const override;
21  Q_REQUIRED_RESULT QByteArray type() const override;
22  Q_REQUIRED_RESULT QByteArray serialized() const override;
23  void deserialize(const QByteArray &data) override;
24 
25  Q_REQUIRED_RESULT bool operator==(const DKIMResultAttribute &other) const;
26 
27  void setError(int err);
28  Q_REQUIRED_RESULT int error() const;
29 
30  void setWarning(int err);
31  Q_REQUIRED_RESULT int warning() const;
32 
33  void setStatus(int err);
34  Q_REQUIRED_RESULT int status() const;
35 
36 private:
37  friend class DKIMResultAttributePrivate;
38  std::unique_ptr<DKIMResultAttributePrivate> const d;
39 };
40 }
41 
bool operator==(const Qt3DRender::QGraphicsApiFilter &reference, const Qt3DRender::QGraphicsApiFilter &sample)
PartitionTable::TableType type
void error(QWidget *parent, const QString &text, const QString &caption=QString(), Options options=Notify)
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Fri Nov 26 2021 23:16:41 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.