File indexing completed on 2025-01-19 04:46:52
0001 /* 0002 SPDX-FileCopyrightText: 2018-2024 Laurent Montel <montel@kde.org> 0003 0004 SPDX-License-Identifier: LGPL-2.0-or-later 0005 */ 0006 0007 #pragma once 0008 0009 #include "dkimconfigure_private_export.h" 0010 #include <QWidget> 0011 0012 class QTabWidget; 0013 class DKIMGeneralWidget; 0014 class DKIMKeyRecordWidget; 0015 class DKIMAdvancedWidget; 0016 class DKIMPolicyWidget; 0017 class LIBDKIMVERIFYCONFIGURE_TESTS_EXPORT DKIMConfigureTab : public QWidget 0018 { 0019 Q_OBJECT 0020 public: 0021 explicit DKIMConfigureTab(QWidget *parent = nullptr); 0022 ~DKIMConfigureTab() override; 0023 0024 void loadSettings(); 0025 void saveSettings(); 0026 void resetSettings(); 0027 0028 private: 0029 void initTab(); 0030 DKIMGeneralWidget *const mGeneralWidget; 0031 DKIMKeyRecordWidget *const mRecordWidget; 0032 DKIMAdvancedWidget *const mAdvancedWidget; 0033 DKIMPolicyWidget *const mPolicyWidget; 0034 QTabWidget *const mTabWidget; 0035 };