File indexing completed on 2025-01-05 03:51:41
0001 /* ============================================================ 0002 * 0003 * This file is a part of digiKam project 0004 * https://www.digikam.org 0005 * 0006 * Date : 2018-07-30 0007 * Description : image editor plugin to reduce image artifacts 0008 * 0009 * SPDX-FileCopyrightText: 2018-2024 by Gilles Caulier <caulier dot gilles at gmail dot com> 0010 * SPDX-FileCopyrightText: 2019 by Ahmed Fathi <ahmed dot fathi dot abdelmageed at gmail dot com> 0011 * 0012 * SPDX-License-Identifier: GPL-2.0-or-later 0013 * 0014 * ============================================================ */ 0015 0016 #ifndef DIGIKAM_HEALINGCLONETOOL_PLUGIN_H 0017 #define DIGIKAM_HEALINGCLONETOOL_PLUGIN_H 0018 0019 // Local includes 0020 0021 #include "dplugineditor.h" 0022 0023 #define DPLUGIN_IID "org.kde.digikam.plugin.editor.HealingCloneTool" 0024 0025 using namespace Digikam; 0026 0027 namespace DigikamEditorHealingCloneToolPlugin 0028 { 0029 0030 class HealingCloneToolPlugin : public DPluginEditor 0031 { 0032 Q_OBJECT 0033 Q_PLUGIN_METADATA(IID DPLUGIN_IID) 0034 Q_INTERFACES(Digikam::DPluginEditor) 0035 0036 public: 0037 0038 explicit HealingCloneToolPlugin(QObject* const parent = nullptr); 0039 ~HealingCloneToolPlugin() override; 0040 0041 QString name() const override; 0042 QString iid() const override; 0043 QIcon icon() const override; 0044 QString details() const override; 0045 QString description() const override; 0046 QList<DPluginAuthor> authors() const override; 0047 QString handbookSection() const override; 0048 QString handbookChapter() const override; 0049 QString handbookReference() const override; 0050 0051 void setup(QObject* const) override; 0052 0053 private Q_SLOTS: 0054 0055 void slotHealingClone(); 0056 }; 0057 0058 } // namespace DigikamEditorHealingCloneToolPlugin 0059 0060 #endif // DIGIKAM_HEALINGCLONETOOL_PLUGIN_H