digiKam
iptcsubjects.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 : IPTC 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_IPTC_SUBJECTS_H
25 #define DIGIKAM_IPTC_SUBJECTS_H
26 
27 // Qt includes
28 
29 #include <QWidget>
30 #include <QByteArray>
31 
32 // Local includes
33 
34 #include "subjectwidget.h"
35 #include "dmetadata.h"
36 
37 using namespace Digikam;
38 
40 {
41 
43 {
44  Q_OBJECT
45 
46 public:
47 
48  explicit IPTCSubjects(QWidget* const parent);
49  ~IPTCSubjects() override;
50 
51  void applyMetadata(const DMetadata& meta);
52  void readMetadata(const DMetadata& meta);
53 
54 private Q_SLOTS:
55 
56  void slotLineEditModified();
57 };
58 
59 } // namespace DigikamGenericMetadataEditPlugin
60 
61 #endif // DIGIKAM_IPTC_SUBJECTS_H
Definition: dmetadata.h:55
Definition: subjectwidget.h:65
Definition: altlangstringedit.cpp:39
Definition: datefolderview.cpp:43