| 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 |
* SPDX-FileCopyrightText: 2010-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 |
#include "batchtool.h" |
| 18 |
|
| 19 |
using namespace Digikam; |
| 20 |
|
| 21 |
namespace DigikamBqmLensAutoFixPlugin |
| 22 |
{ |
| 23 |
|
| 24 |
class LensAutoFix : public BatchTool |
| 25 |
{ |
| 26 |
Q_OBJECT |
| 27 |
|
| 28 |
public: |
| 29 |
|
| 30 |
explicit LensAutoFix(QObject* const parent = nullptr); |
| 31 |
~LensAutoFix() override; |
| 32 |
|
| 33 |
BatchToolSettings defaultSettings() override; |
| 34 |
|
| 35 |
BatchTool* clone(QObject* const parent = nullptr) const override; |
| 36 |
|
| 37 |
void registerSettingsWidget() override; |
| 38 |
|
| 39 |
private: |
| 40 |
|
| 41 |
bool toolOperations() override; |
| 42 |
|
| 43 |
private Q_SLOTS: |
| 44 |
|
| 45 |
void slotAssignSettings2Widget() override; |
| 46 |
void slotSettingsChanged() override; |
| 47 |
|
| 48 |
private: |
| 49 |
|
| 50 |
class Private; |
| 51 |
Private* const d = nullptr; |
| 52 |
}; |
| 53 |
|
| 54 |
} // namespace DigikamBqmLensAutoFixPlugin |