Messagelib

dkimmanagerkeywidget.h
1/*
2 SPDX-FileCopyrightText: 2018-2024 Laurent Montel <montel@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5*/
6#pragma once
7
8#include "messageviewer_export.h"
9#include <QWidget>
10namespace MessageViewer
11{
12class DKIMManagerKeyTreeView;
13/**
14 * @brief The DKIMManagerKeyWidget class
15 * @author Laurent Montel <montel@kde.org>
16 */
17class MESSAGEVIEWER_EXPORT DKIMManagerKeyWidget : public QWidget
18{
19 Q_OBJECT
20public:
21 explicit DKIMManagerKeyWidget(QWidget *parent = nullptr);
22 ~DKIMManagerKeyWidget() override;
23
24 void loadKeys();
25 void saveKeys();
26 void resetKeys();
27 [[nodiscard]] QByteArray saveHeaders() const;
28 void restoreHeaders(const QByteArray &header);
29
30private:
31 MESSAGEVIEWER_NO_EXPORT void slotCustomContextMenuRequested(const QPoint &);
32 DKIMManagerKeyTreeView *const mDKIMManagerKeyTreeView;
33};
34}
The DKIMManagerKeyWidget class.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:07:25 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.