File indexing completed on 2025-01-19 03:55:35

0001 /* ============================================================
0002  *
0003  * This file is a part of digiKam project
0004  * https://www.digikam.org
0005  *
0006  * Date        : 2018-12-31
0007  * Description : digiKam plugin about dialog
0008  *
0009  * SPDX-FileCopyrightText: 2018-2024 by Gilles Caulier <caulier dot gilles at gmail dot com>
0010  *
0011  * SPDX-License-Identifier: GPL-2.0-or-later
0012  *
0013  * ============================================================ */
0014 
0015 #ifndef DIGIKAM_DPLUGIN_ABOUT_DLG_H
0016 #define DIGIKAM_DPLUGIN_ABOUT_DLG_H
0017 
0018 // Qt includes
0019 
0020 #include <QDialog>
0021 
0022 // Local includes
0023 
0024 #include "digikam_export.h"
0025 #include "dplugin.h"
0026 
0027 namespace Digikam
0028 {
0029 
0030 class DIGIKAM_EXPORT DPluginAboutDlg : public QDialog
0031 {
0032     Q_OBJECT
0033 
0034 public:
0035 
0036     explicit DPluginAboutDlg(DPlugin* const tool, QWidget* const parent = nullptr);
0037     ~DPluginAboutDlg() override;
0038 
0039 private Q_SLOTS:
0040 
0041     void slotOnlineHandbook();
0042 
0043 private:
0044 
0045     Q_DISABLE_COPY(DPluginAboutDlg)
0046 
0047 private:
0048 
0049     DPlugin* m_tool = nullptr;
0050 };
0051 
0052 } // namespace Digikam
0053 
0054 #endif // DIGIKAM_DPLUGIN_ABOUT_DLG_H