digiKam
itemgps.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 : 2010-03-21
7  * Description : a class to hold GPS information about an item.
8  *
9  * Copyright (C) 2010-2014 by Michael G. Hansen <mike at mghansen dot de>
10  * Copyright (C) 2015-2022 by Gilles Caulier <caulier dot gilles 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_ITEM_GPS_H
26 #define DIGIKAM_ITEM_GPS_H
27 
28 // Qt includes
29 
30 #include <QList>
31 
32 // Local includes
33 
34 #include "digikam_export.h"
35 #include "iteminfo.h"
36 #include "gpsitemcontainer.h"
37 
38 namespace Digikam
39 {
40 
41 class DIGIKAM_DATABASE_EXPORT ItemGPS : public GPSItemContainer
42 {
43 
44 public:
45 
46  explicit ItemGPS(const ItemInfo& info);
47  ~ItemGPS() override;
48 
49  QString saveChanges() override;
50  bool loadImageData() override;
51 
52 private:
53 
54  ItemInfo m_info;
55 
56 private:
57 
58  Q_DISABLE_COPY(ItemGPS)
59 };
60 
61 } // namespace Digikam
62 
63 #endif // DIGIKAM_ITEM_GPS_H
Definition: gpsitemcontainer.h:96
Definition: itemgps.h:42
Definition: iteminfo.h:78
Definition: datefolderview.cpp:43