File indexing completed on 2025-01-19 03:50:58

0001 /* ============================================================
0002  *
0003  * This file is a part of digiKam project
0004  * https://www.digikam.org
0005  *
0006  * Date        : 2010-09-14
0007  * Description : remove metadata batch tool.
0008  *
0009  * SPDX-FileCopyrightText: 2010-2024 by Gilles Caulier <caulier dot gilles at gmail dot com>
0010  *
0011  * SPDX-License-Identifier: GPL-2.0-or-later
0012  *
0013  * ============================================================ */
0014 
0015 #ifndef DIGIKAM_BQM_REMOVE_METADATA_H
0016 #define DIGIKAM_BQM_REMOVE_METADATA_H
0017 
0018 // Local includes
0019 
0020 #include "batchtool.h"
0021 
0022 using namespace Digikam;
0023 
0024 namespace DigikamBqmRemoveMetadataPlugin
0025 {
0026 
0027 class RemoveMetadata : public BatchTool
0028 {
0029     Q_OBJECT
0030 
0031 public:
0032 
0033     explicit RemoveMetadata(QObject* const parent = nullptr);
0034     ~RemoveMetadata()                                       override;
0035 
0036     BatchToolSettings defaultSettings()                     override;
0037 
0038     BatchTool* clone(QObject* const parent = nullptr) const override;
0039 
0040     void registerSettingsWidget()                           override;
0041 
0042 private Q_SLOTS:
0043 
0044     void slotAssignSettings2Widget()                        override;
0045     void slotSettingsChanged()                              override;
0046 
0047 private:
0048 
0049     bool toolOperations()                                   override;
0050 
0051 private:
0052 
0053     class Private;
0054     Private* const d;
0055 };
0056 
0057 } // namespace DigikamBqmRemoveMetadataPlugin
0058 
0059 #endif // DIGIKAM_BQM_REMOVE_METADATA_H