File indexing completed on 2025-01-05 03:59:10
0001 /* 0002 SPDX-FileCopyrightText: 2008 Torsten Rahn <rahn@kde.org> 0003 0004 SPDX-License-Identifier: LGPL-2.0-or-later 0005 */ 0006 0007 #ifndef MARBLE_GEOSCENEABSTRACTDATASET_H 0008 #define MARBLE_GEOSCENEABSTRACTDATASET_H 0009 0010 #include <QString> 0011 0012 #include "digikam_export.h" 0013 0014 #include "GeoDocument.h" 0015 0016 namespace Marble 0017 { 0018 0019 /** 0020 * @short Contents used inside a layer. 0021 */ 0022 class DIGIKAM_EXPORT GeoSceneAbstractDataset : public GeoNode 0023 { 0024 public: 0025 ~GeoSceneAbstractDataset() override {}; 0026 0027 QString name() const; 0028 0029 QString fileFormat() const; 0030 void setFileFormat( const QString& fileFormat ); 0031 0032 int expire() const; 0033 void setExpire( int expire ); 0034 0035 protected: 0036 explicit GeoSceneAbstractDataset( const QString& name ); 0037 0038 private: 0039 QString m_name; 0040 QString m_fileFormat; 0041 int m_expire; 0042 }; 0043 0044 } 0045 0046 #endif