Messagelib

dkimmanagerulesdialog.h
1 /*
2  SPDX-FileCopyrightText: 2019-2022 Laurent Montel <[email protected]>
3 
4  SPDX-License-Identifier: LGPL-2.0-or-later
5 */
6 #pragma once
7 
8 #include "messageviewer_export.h"
9 #include <QDialog>
10 
11 class QPushButton;
12 namespace MessageViewer
13 {
14 class DKIMManageRulesWidget;
15 /**
16  * @brief The DKIMManageRulesDialog class
17  * @author Laurent Montel <[email protected]>
18  */
19 class MESSAGEVIEWER_EXPORT DKIMManageRulesDialog : public QDialog
20 {
21  Q_OBJECT
22 public:
23  explicit DKIMManageRulesDialog(QWidget *parent = nullptr);
24  ~DKIMManageRulesDialog() override;
25 
26 private:
27  void slotAccepted();
28  void readConfig();
29  void writeConfig();
30  void slotImport();
31  void slotExport();
32  DKIMManageRulesWidget *const mRulesWidget;
33  QPushButton *mExportButton = nullptr;
34 };
35 }
The DKIMManageRulesDialog class.
The DKIMManageRulesWidget class.
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Thu May 19 2022 03:53:25 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.