/*
   SPDX-FileCopyrightText: 2019-2020 Laurent Montel <montel@kde.org>

   SPDX-License-Identifier: LGPL-2.0-or-later
*/

#ifndef DKIMKEYRECORDWIDGET_H
#define DKIMKEYRECORDWIDGET_H
#include "dkimconfigure_private_export.h"
#include <QWidget>
namespace MessageViewer {
class DKIMManagerKeyWidget;
}
class LIBDKIMVERIFYCONFIGURE_TESTS_EXPORT DKIMKeyRecordWidget : public QWidget
{
    Q_OBJECT
public:
    explicit DKIMKeyRecordWidget(QWidget *parent = nullptr);
    ~DKIMKeyRecordWidget();

    void loadSettings();
    void saveSettings();
    void resetSettings();
private:
    void readConfig();
    void writeConfig();
    MessageViewer::DKIMManagerKeyWidget *mManagerKeyWidget = nullptr;
};

#endif // DKIMKEYRECORDWIDGET_H
