File indexing completed on 2025-01-19 03:51:26
0001 /* ============================================================ 0002 * 0003 * This file is a part of digiKam project 0004 * https://www.digikam.org 0005 * 0006 * Date : 2006-10-15 0007 * Description : XMP subjects settings page. 0008 * 0009 * SPDX-FileCopyrightText: 2006-2024 by Gilles Caulier <caulier dot gilles at gmail dot com> 0010 * SPDX-FileCopyrightText: 2009 by Andi Clemens <andi dot clemens at googlemail dot com> 0011 * 0012 * SPDX-License-Identifier: GPL-2.0-or-later 0013 * 0014 * ============================================================ */ 0015 0016 #ifndef DIGIKAM_XMP_SUBJECTS_H 0017 #define DIGIKAM_XMP_SUBJECTS_H 0018 0019 // Qt includes 0020 0021 #include <QWidget> 0022 0023 // Local includes 0024 0025 #include "dmetadata.h" 0026 #include "subjectwidget.h" 0027 0028 using namespace Digikam; 0029 0030 namespace DigikamGenericMetadataEditPlugin 0031 { 0032 0033 class XMPSubjects : public SubjectWidget 0034 { 0035 Q_OBJECT 0036 0037 public: 0038 0039 explicit XMPSubjects(QWidget* const parent); 0040 ~XMPSubjects() override; 0041 0042 void applyMetadata(const DMetadata& meta); 0043 void readMetadata(const DMetadata& meta); 0044 }; 0045 0046 } // namespace DigikamGenericMetadataEditPlugin 0047 0048 #endif // DIGIKAM_XMP_SUBJECTS_H