File indexing completed on 2025-01-19 03:52:56
0001 /* ============================================================ 0002 * 0003 * This file is a part of digiKam project 0004 * https://www.digikam.org 0005 * 0006 * Date : 2019-03-27 0007 * Description : a plugin to export items to a local storage. 0008 * 0009 * SPDX-FileCopyrightText: 2018-2024 by Gilles Caulier <caulier dot gilles at gmail dot com> 0010 * SPDX-FileCopyrightText: 2019-2020 by Maik Qualmann <metzpinguin at gmail dot com> 0011 * 0012 * SPDX-License-Identifier: GPL-2.0-or-later 0013 * 0014 * ============================================================ */ 0015 0016 #ifndef DIGIKAM_FC_PLUGIN_H 0017 #define DIGIKAM_FC_PLUGIN_H 0018 0019 // Local includes 0020 0021 #include "dplugingeneric.h" 0022 0023 #define DPLUGIN_IID "org.kde.digikam.plugin.generic.FileCopy" 0024 0025 using namespace Digikam; 0026 0027 namespace DigikamGenericFileCopyPlugin 0028 { 0029 0030 class FCExportWindow; 0031 0032 class FCPlugin : public DPluginGeneric 0033 { 0034 Q_OBJECT 0035 Q_PLUGIN_METADATA(IID DPLUGIN_IID) 0036 Q_INTERFACES(Digikam::DPluginGeneric) 0037 0038 public: 0039 0040 explicit FCPlugin(QObject* const parent = nullptr); 0041 ~FCPlugin() override; 0042 0043 QString name() const override; 0044 QString iid() const override; 0045 QIcon icon() const override; 0046 QString details() const override; 0047 QString description() const override; 0048 QList<DPluginAuthor> authors() const override; 0049 QString handbookSection() const override; 0050 QString handbookChapter() const override; 0051 0052 void setup(QObject* const) override; 0053 void cleanUp() override; 0054 0055 private Q_SLOTS: 0056 0057 void slotFileCopyExport(); 0058 0059 private: 0060 0061 QPointer<FCExportWindow> m_toolDlgExport; 0062 }; 0063 0064 } // namespace DigikamGenericFileCopyPlugin 0065 0066 #endif // DIGIKAM_FC_PLUGIN_H