| 1 |
/* ============================================================ |
| 2 |
* |
| 3 |
* This file is a part of digiKam project |
| 4 |
* https://www.digikam.org |
| 5 |
* |
| 6 |
* Date : 2018-07-30 |
| 7 |
* Description : a BQM plugin to sharp images |
| 8 |
* |
| 9 |
* SPDX-FileCopyrightText: 2018-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 |
#ifndef DIGIKAM_SHARPEN_PLUGIN_H |
| 16 |
#define DIGIKAM_SHARPEN_PLUGIN_H |
| 17 |
|
| 18 |
// Local includes |
| 19 |
|
| 20 |
#include "dpluginbqm.h" |
| 21 |
|
| 22 |
#define DPLUGIN_IID "org.kde.digikam.plugin.bqm.Sharpen" |
| 23 |
|
| 24 |
using namespace Digikam; |
| 25 |
|
| 26 |
namespace DigikamBqmSharpenPlugin |
| 27 |
{ |
| 28 |
|
| 29 |
class SharpenPlugin : public DPluginBqm |
| 30 |
{ |
| 31 |
Q_OBJECT |
| 32 |
Q_PLUGIN_METADATA(IID DPLUGIN_IID) |
| 33 |
Q_INTERFACES(Digikam::DPluginBqm) |
| 34 |
|
| 35 |
public: |
| 36 |
|
| 37 |
explicit SharpenPlugin(QObject* const parent = nullptr); |
| 38 |
~SharpenPlugin() override = default; |
| 39 |
|
| 40 |
QString name() const override; |
| 41 |
QString iid() const override; |
| 42 |
QIcon icon() const override; |
| 43 |
QString details() const override; |
| 44 |
QString description() const override; |
| 45 |
QList<DPluginAuthor> authors() const override; |
| 46 |
QString handbookSection() const override; |
| 47 |
QString handbookChapter() const override; |
| 48 |
QString handbookReference() const override; |
| 49 |
|
| 50 |
void setup(QObject* const) override; |
| 51 |
}; |
| 52 |
|
| 53 |
} // namespace DigikamBqmSharpenPlugin |
| 54 |
|
| 55 |
#endif // DIGIKAM_SHARPEN_PLUGIN_H |