Marble

GeoSceneAbstractDataset.h
1 /*
2  SPDX-FileCopyrightText: 2008 Torsten Rahn <[email protected]>
3 
4  SPDX-License-Identifier: LGPL-2.0-or-later
5 */
6 
7 #ifndef MARBLE_GEOSCENEABSTRACTDATASET_H
8 #define MARBLE_GEOSCENEABSTRACTDATASET_H
9 
10 #include <QString>
11 
12 #include <geodata_export.h>
13 
14 #include "GeoDocument.h"
15 
16 namespace Marble
17 {
18 
19 /**
20  * @short Contents used inside a layer.
21  */
22 class GEODATA_EXPORT GeoSceneAbstractDataset : public GeoNode
23 {
24  public:
25  ~GeoSceneAbstractDataset() override {};
26 
27  QString name() const;
28 
29  QString fileFormat() const;
30  void setFileFormat( const QString& fileFormat );
31 
32  int expire() const;
33  void setExpire( int expire );
34 
35  protected:
36  explicit GeoSceneAbstractDataset( const QString& name );
37 
38  private:
39  QString m_name;
40  QString m_fileFormat;
41  int m_expire;
42 };
43 
44 }
45 
46 #endif
A shared base class for all classes that are mapped to a specific tag (ie.
Definition: GeoDocument.h:34
Binds a QML item to a specific geodetic location in screen coordinates.
Contents used inside a layer.
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Thu May 26 2022 04:07:49 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.