Debian Codegraph @

core/dplugins/bqm/enhance/hotpixels/hotpixels.h

raw
1 /* ============================================================
2 *
3 * This file is a part of digiKam project
4 * https://www.digikam.org
5 *
6 * Date : 2020-08-07
7 * Description : Hot Pixels Fixer batch tool.
8 *
9 * SPDX-FileCopyrightText: 2020-2026 by Gilles Caulier <caulier dot gilles at gmail dot com>
10 *
11 * SPDX-License-Identifier: GPL-2.0-or-later
12 *
13 * ============================================================ */
14
15 #pragma once
16
17 // Local includes
18
19 #include "batchtool.h"
20 #include "hotpixelsettings.h"
21
22 using namespace Digikam;
23
24 namespace DigikamBqmHotPixelsPlugin
25 {
26
27 class HotPixels : public BatchTool
28 {
29 Q_OBJECT
30
31 public:
32
33 explicit HotPixels(QObject* const parent = nullptr);
34 ~HotPixels() override = default;
35
36 BatchToolSettings defaultSettings() override;
37
38 BatchTool* clone(QObject* const parent = nullptr) const override;
39
40 void registerSettingsWidget() override;
41
42 private:
43
44 bool toolOperations() override;
45
46 private Q_SLOTS:
47
48 void slotAssignSettings2Widget() override;
49 void slotSettingsChanged() override;
50
51 private:
52
53 HotPixelSettings* m_settingsView = nullptr;
54 };
55
56 } // namespace DigikamBqmHotPixelsPlugin