File indexing completed on 2025-01-19 03:53:47
0001 /* ============================================================ 0002 * 0003 * This file is a part of digiKam project 0004 * https://www.digikam.org 0005 * 0006 * Date : 2010-03-21 0007 * Description : a class to hold GPS information about an item. 0008 * 0009 * SPDX-FileCopyrightText: 2010-2014 by Michael G. Hansen <mike at mghansen dot de> 0010 * SPDX-FileCopyrightText: 2015-2024 by Gilles Caulier <caulier dot gilles at gmail dot com> 0011 * 0012 * SPDX-License-Identifier: GPL-2.0-or-later 0013 * 0014 * ============================================================ */ 0015 0016 #ifndef DIGIKAM_ITEM_GPS_H 0017 #define DIGIKAM_ITEM_GPS_H 0018 0019 // Qt includes 0020 0021 #include <QList> 0022 0023 // Local includes 0024 0025 #include "digikam_export.h" 0026 #include "iteminfo.h" 0027 #include "gpsitemcontainer.h" 0028 0029 namespace Digikam 0030 { 0031 0032 class DIGIKAM_GUI_EXPORT ItemGPS : public GPSItemContainer 0033 { 0034 0035 public: 0036 0037 explicit ItemGPS(const ItemInfo& info); 0038 ~ItemGPS() override; 0039 0040 QString saveChanges() override; 0041 bool loadImageData() override; 0042 0043 private: 0044 0045 ItemInfo m_info; 0046 0047 private: 0048 0049 Q_DISABLE_COPY(ItemGPS) 0050 }; 0051 0052 } // namespace Digikam 0053 0054 #endif // DIGIKAM_ITEM_GPS_H