"Fossies" - the Fresh Open Source Software Archive

Member "digikam-6.3.0/core/dplugins/generic/webservices/unified/unifiedplugin.h" (4 Sep 2019, 1964 Bytes) of package /linux/misc/digikam-6.3.0.tar.xz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "unifiedplugin.h" see the Fossies "Dox" file reference documentation and the latest Fossies "Diffs" side-by-side code changes report: 6.2.0_vs_6.3.0.

    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-2019 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 
   38 namespace DigikamGenericUnifiedPlugin
   39 {
   40 
   41 class UnifiedPlugin : public DPluginGeneric
   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();
   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