| 1 | /* |
| 2 | This file is part of the KDE libraries |
| 3 | SPDX-FileCopyrightText: 2019 Friedrich W. H. Kossebau <kossebau@kde.org> |
| 4 | |
| 5 | SPDX-License-Identifier: LGPL-2.0-only |
| 6 | */ |
| 7 | |
| 8 | #ifndef KLICENSEDIALOG_P_H |
| 9 | #define KLICENSEDIALOG_P_H |
| 10 | |
| 11 | // Qt |
| 12 | #include <QDialog> |
| 13 | |
| 14 | class KAboutLicense; |
| 15 | |
| 16 | /*! |
| 17 | * \internal |
| 18 | * \brief A dialog to display a license. |
| 19 | * \inmodule KXmlGui |
| 20 | */ |
| 21 | class KLicenseDialog : public QDialog |
| 22 | { |
| 23 | Q_OBJECT |
| 24 | |
| 25 | public: |
| 26 | explicit KLicenseDialog(const KAboutLicense &license, QWidget *parent = nullptr); |
| 27 | ~KLicenseDialog() override; |
| 28 | |
| 29 | private: |
| 30 | Q_DISABLE_COPY(KLicenseDialog) |
| 31 | }; |
| 32 | |
| 33 | #endif |
| 34 | |