digiKam
unifiedplugin.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 plugin to export items to web-services (unified version).
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_UNIFIED_PLUGIN_H
24 #define DIGIKAM_UNIFIED_PLUGIN_H
25 
26 // Local includes
27 
28 #include "dplugingeneric.h"
29 
30 // Local includes
31 
32 #include "wswizard.h"
33 
34 #define DPLUGIN_IID "org.kde.digikam.plugin.generic.Unified"
35 
36 using namespace Digikam;
37 
39 {
40 
42 {
43  Q_OBJECT
44  Q_PLUGIN_METADATA(IID DPLUGIN_IID)
45  Q_INTERFACES(Digikam::DPluginGeneric)
46 
47 public:
48 
49  explicit UnifiedPlugin(QObject* const parent = 0);
50  ~UnifiedPlugin() override;
51 
52  QString name() const override;
53  QString iid() const override;
54  QIcon icon() const override;
55  QString details() const override;
56  QString description() const override;
57  QList<DPluginAuthor> authors() const override;
58 
59  void setup(QObject* const) override;
60  void cleanUp() override;
61 
62 private Q_SLOTS:
63 
64  void slotUnified();
65 
66 private:
67 
68  QPointer<WSWizard> m_toolDlg;
69 };
70 
71 } // namespace DigikamGenericUnifiedPlugin
72 
73 #endif // DIGIKAM_UNIFIED_PLUGIN_H
Definition: unifiedplugin.h:42
Definition: dplugingeneric.h:42
Definition: piwigotalker.h:48
Definition: wsauthentication.cpp:56
Definition: datefolderview.cpp:43
#define DPLUGIN_IID
Definition: unifiedplugin.h:34