File indexing completed on 2025-01-05 03:53:17

0001 /* ============================================================
0002  *
0003  * This file is a part of digiKam project
0004  * https://www.digikam.org
0005  *
0006  * Date        : 2019-04-02
0007  * Description : plugin to export image as wallpaper - Settings dialog
0008  *
0009  * SPDX-FileCopyrightText: 2019      by Igor Antropov <antropovi at yahoo dot com>
0010  * SPDX-FileCopyrightText: 2019-2024 by Gilles Caulier <caulier dot gilles at gmail dot com>
0011  *
0012  * SPDX-License-Identifier: GPL-2.0-or-later
0013  *
0014  * ============================================================ */
0015 
0016 #ifndef DIGIKAM_WALLPAPER_PLUGIN_DLG_H
0017 #define DIGIKAM_WALLPAPER_PLUGIN_DLG_H
0018 
0019 // Local includes
0020 
0021 #include "dplugin.h"
0022 #include "dplugindialog.h"
0023 
0024 using namespace Digikam;
0025 
0026 namespace DigikamGenericWallpaperPlugin
0027 {
0028 
0029 class WallpaperPluginDlg : public DPluginDialog
0030 {
0031     Q_OBJECT
0032 
0033 public:
0034 
0035     explicit WallpaperPluginDlg(DPlugin* const plugin,
0036                                 QWidget* const parent = nullptr);
0037     ~WallpaperPluginDlg() override;
0038 
0039     int wallpaperLayout() const;
0040 
0041 private:
0042 
0043     class Private;
0044     Private* const d;
0045 };
0046 
0047 } // namespace DigikamGenericWallpaperPlugin
0048 
0049 #endif // DIGIKAM_WALLPAPER_PLUGIN_DLG_H