digiKam
lensautofix.h
Go to the documentation of this file.
1 /* ============================================================
2  *
3  * This file is a part of digiKam project
4  * https://www.digikam.org
5  *
6  * Date : 2010-09-18
7  * Description : lens auto-fix batch tool.
8  *
9  * Copyright (C) 2010-2022 by Gilles Caulier <caulier dot gilles at gmail dot com>
10  *
11  * This program is free software; you can redistribute it
12  * and/or modify it under the terms of the GNU General
13  * Public License as published by the Free Software Foundation;
14  * either version 2, or (at your option)
15  * any later version.
16  *
17  * This program is distributed in the hope that it will be useful,
18  * but WITHOUT ANY WARRANTY; without even the implied warranty of
19  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20  * GNU General Public License for more details.
21  *
22  * ============================================================ */
23 
24 #ifndef DIGIKAM_BQM_LENS_AUTO_FIX_H
25 #define DIGIKAM_BQM_LENS_AUTO_FIX_H
26 
27 #include "batchtool.h"
28 
29 using namespace Digikam;
30 
32 {
33 
34 class LensAutoFix : public BatchTool
35 {
36  Q_OBJECT
37 
38 public:
39 
40  explicit LensAutoFix(QObject* const parent = nullptr);
41  ~LensAutoFix() override;
42 
43  BatchToolSettings defaultSettings() override;
44 
45  BatchTool* clone(QObject* const parent = nullptr) const override;
46 
47  void registerSettingsWidget() override;
48 
49 private:
50 
51  bool toolOperations() override;
52 
53 private Q_SLOTS:
54 
55  void slotAssignSettings2Widget() override;
56  void slotSettingsChanged() override;
57 
58 private:
59 
60  class Private;
61  Private* const d;
62 };
63 
64 } // namespace DigikamBqmLensAutoFixPlugin
65 
66 #endif // DIGIKAM_BQM_LENS_AUTO_FIX_H
Definition: lensautofix.h:35
Definition: batchtool.h:56
Definition: lensautofix.cpp:49
Definition: datefolderview.cpp:43
QMap< QString, QVariant > BatchToolSettings
Definition: batchtool.h:48