File indexing completed on 2024-06-23 05:13:47

0001 /*
0002     configuredialog.h
0003 
0004     This file is part of Kleopatra
0005     SPDX-FileCopyrightText: 2000 Espen Sand <espen@kde.org>
0006     SPDX-FileCopyrightText: 2001-2002 Marc Mutz <mutz@kde.org>
0007     SPDX-FileCopyrightText: 2004 Klarälvdalens Datakonsult AB
0008 
0009     SPDX-FileCopyrightText: 2016 Bundesamt für Sicherheit in der Informationstechnik
0010     SPDX-FileContributor: Intevation GmbH
0011 
0012     SPDX-License-Identifier: GPL-2.0-only
0013 */
0014 
0015 #pragma once
0016 
0017 #include <config-kleopatra.h>
0018 
0019 /**
0020  * This is a small wrapper class that holds common code between
0021  * the KCM Config dialog (which is used when KCMUtils are available)
0022  * and the KleoPageConfigDialog. Which is just a KPageView
0023  * with the necessary bits of the KCMultiDialog behavior.
0024  */
0025 #include "kleopageconfigdialog.h"
0026 
0027 class ConfigureDialog : public KleoPageConfigDialog
0028 {
0029     Q_OBJECT
0030 public:
0031     explicit ConfigureDialog(QWidget *parent = nullptr);
0032     ~ConfigureDialog() override;
0033 
0034 protected:
0035     void hideEvent(QHideEvent *) override;
0036 };