digiKam
restorationplugin.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 : a BQM plugin to restore images
8  *
9  * Copyright (C) 2018-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) any later version.
15  *
16  * This program is distributed in the hope that it will be useful,
17  * but WITHOUT ANY WARRANTY; without even the implied warranty of
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19  * GNU General Public License for more details.
20  *
21  * ============================================================ */
22 
23 #ifndef DIGIKAM_RESTORATION_PLUGIN_H
24 #define DIGIKAM_RESTORATION_PLUGIN_H
25 
26 // Local includes
27 
28 #include "dpluginbqm.h"
29 
30 #define DPLUGIN_IID "org.kde.digikam.plugin.bqm.Restoration"
31 
32 using namespace Digikam;
33 
34 namespace Digikam
35 {
36 
38 {
39  Q_OBJECT
40  Q_PLUGIN_METADATA(IID DPLUGIN_IID)
41  Q_INTERFACES(Digikam::DPluginBqm)
42 
43 public:
44 
45  explicit RestorationPlugin(QObject* const parent = nullptr);
46  ~RestorationPlugin() override;
47 
48  QString name() const override;
49  QString iid() const override;
50  QIcon icon() const override;
51  QString details() const override;
52  QString description() const override;
53  QList<DPluginAuthor> authors() const override;
54 
55  void setup(QObject* const) override;
56 };
57 
58 } // namespace Digikam
59 
60 #endif // DIGIKAM_RESTORATION_PLUGIN_H
Definition: dpluginbqm.h:42
Definition: restorationplugin.h:38
RestorationPlugin(QObject *const parent=nullptr)
Definition: restorationplugin.cpp:43
void setup(QObject *const) override
Definition: restorationplugin.cpp:86
QString details() const override
Returns a long description about the plugin.
Definition: restorationplugin.cpp:72
QIcon icon() const override
Returns an icon for the plugin. Default implementation return the system plugin icon.
Definition: restorationplugin.cpp:62
QList< DPluginAuthor > authors() const override
Returns authors list for the plugin.
Definition: restorationplugin.cpp:77
QString name() const override
Returns the user-visible name of the plugin.
Definition: restorationplugin.cpp:52
QString description() const override
Returns a short description about the plugin.
Definition: restorationplugin.cpp:67
QString iid() const override
Returns the unique internal identification property of the plugin. Must be formatted as "org....
Definition: restorationplugin.cpp:57
~RestorationPlugin() override
Definition: restorationplugin.cpp:48
Definition: piwigotalker.h:48
Definition: datefolderview.cpp:43
#define DPLUGIN_IID
Definition: restorationplugin.h:30