digiKam
xmpsubjects.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 : 2006-10-15
7  * Description : XMP subjects settings page.
8  *
9  * Copyright (C) 2006-2022 by Gilles Caulier <caulier dot gilles at gmail dot com>
10  * Copyright (C) 2009 by Andi Clemens <andi dot clemens at googlemail dot com>
11  *
12  * This program is free software; you can redistribute it
13  * and/or modify it under the terms of the GNU General
14  * Public License as published by the Free Software Foundation;
15  * either version 2, or (at your option) any later version.
16  *
17  * This program is distributed in the hope that it will be useful,
18  * but WITHOUT ANY WARRANTY; without even the implied warranty of
19  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20  * GNU General Public License for more details.
21  *
22  * ============================================================ */
23 
24 #ifndef DIGIKAM_XMP_SUBJECTS_H
25 #define DIGIKAM_XMP_SUBJECTS_H
26 
27 // Qt includes
28 
29 #include <QWidget>
30 
31 // Local includes
32 
33 #include "dmetadata.h"
34 #include "subjectwidget.h"
35 
36 using namespace Digikam;
37 
39 {
40 
41 class XMPSubjects : public SubjectWidget
42 {
43  Q_OBJECT
44 
45 public:
46 
47  explicit XMPSubjects(QWidget* const parent);
48  ~XMPSubjects() override;
49 
50  void applyMetadata(const DMetadata& meta);
51  void readMetadata(const DMetadata& meta);
52 };
53 
54 } // namespace DigikamGenericMetadataEditPlugin
55 
56 #endif // DIGIKAM_XMP_SUBJECTS_H
Definition: dmetadata.h:55
Definition: subjectwidget.h:65
Definition: altlangstringedit.cpp:39
Definition: datefolderview.cpp:43