digiKam
focuspoints_writer.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 : 28/08/2021
7  * Description : Writer of focus points to exiftool data
8  *
9  * Copyright (C) 2021-2022 by Gilles Caulier <caulier dot gilles at gmail dot com>
10  * Copyright (C) 2021 by Phuoc Khanh Le <phuockhanhnk94 at gmail 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)
16  * any later version.
17  *
18  * This program is distributed in the hope that it will be useful,
19  * but WITHOUT ANY WARRANTY; without even the implied warranty of
20  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21  * GNU General Public License for more details.
22  *
23  * ============================================================ */
24 
25 #ifndef DIGIKAM_FOCUSPOINTS_WRITER_H
26 #define DIGIKAM_FOCUSPOINTS_WRITER_H
27 
28 // Qt includes
29 
30 #include <QObject>
31 #include <QVariant>
32 #include <QStringList>
33 
34 // Local includes
35 
36 #include "digikam_export.h"
37 #include "focuspoint.h"
38 
39 namespace Digikam
40 {
41 
42 class DIGIKAM_EXPORT FocusPointsWriter : public QObject
43 {
44  Q_OBJECT
45 
46 public:
47 
48  explicit FocusPointsWriter(QObject* const parent, const QString& path);
50 
51 public:
52 
53  void writeFocusPoint(const FocusPoint& point);
54  void writeFocusPoint(const QRectF& rectF);
55 
56 private:
57 
58  class Private;
59  Private* const d;
60 };
61 
62 } // namespace Digikam
63 
64 #endif // DIGIKAM_FOCUSPOINTS_WRITER_H
Definition: focuspoint.h:45
Definition: focuspoints_writer.h:43
Definition: datefolderview.cpp:43