digiKam
healingclonetoolplugin.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 : 2018-07-30
7  * Description : image editor plugin to reduce image artifacts
8  *
9  * Copyright (C) 2018-2022 by Gilles Caulier <caulier dot gilles at gmail dot com>
10  * Copyright (C) 2019 by Ahmed Fathi <ahmed dot fathi dot abdelmageed at gmail dot com>
11  *
12  * This program is free software; you can redistribute it
13  * and/or modify it under the terms of the GNU General
14  * Public License as published by the Free Software Foundation;
15  * either version 2, or (at your option) 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_HEALINGCLONETOOL_PLUGIN_H
25 #define DIGIKAM_HEALINGCLONETOOL_PLUGIN_H
26 
27 // Local includes
28 
29 #include "dplugineditor.h"
30 
31 #define DPLUGIN_IID "org.kde.digikam.plugin.editor.HealingCloneTool"
32 
33 using namespace Digikam;
34 
36 {
37 
39 {
40  Q_OBJECT
41  Q_PLUGIN_METADATA(IID DPLUGIN_IID)
42  Q_INTERFACES(Digikam::DPluginEditor)
43 
44 public:
45 
46  explicit HealingCloneToolPlugin(QObject* const parent = nullptr);
47  ~HealingCloneToolPlugin() override;
48 
49  QString name() const override;
50  QString iid() const override;
51  QIcon icon() const override;
52  QString details() const override;
53  QString description() const override;
54  QList<DPluginAuthor> authors() const override;
55 
56  void setup(QObject* const) override;
57 
58 private Q_SLOTS:
59 
60  void slotHealingClone();
61 };
62 
63 } // namespace DigikamEditorHealingCloneToolPlugin
64 
65 #endif // DIGIKAM_HEALINGCLONETOOL_PLUGIN_H
Definition: dplugineditor.h:42
Definition: piwigotalker.h:48
#define DPLUGIN_IID
Definition: healingclonetoolplugin.h:31
Definition: healingclonetool.cpp:57
Definition: datefolderview.cpp:43