File indexing completed on 2025-01-19 04:46:52
0001 /* 0002 SPDX-FileCopyrightText: 2019-2024 Laurent Montel <montel@kde.org> 0003 0004 SPDX-License-Identifier: LGPL-2.0-or-later 0005 */ 0006 0007 #pragma once 0008 #include "dkimconfigure_private_export.h" 0009 #include <QWidget> 0010 namespace MessageViewer 0011 { 0012 class DKIMManagerKeyWidget; 0013 } 0014 class LIBDKIMVERIFYCONFIGURE_TESTS_EXPORT DKIMKeyRecordWidget : public QWidget 0015 { 0016 Q_OBJECT 0017 public: 0018 explicit DKIMKeyRecordWidget(QWidget *parent = nullptr); 0019 ~DKIMKeyRecordWidget() override; 0020 0021 void loadSettings(); 0022 void saveSettings(); 0023 void resetSettings(); 0024 0025 private: 0026 void readConfig(); 0027 void writeConfig(); 0028 MessageViewer::DKIMManagerKeyWidget *const mManagerKeyWidget; 0029 };