Marble

GeoSceneAbstractDataset.h
1/*
2 SPDX-FileCopyrightText: 2008 Torsten Rahn <rahn@kde.org>
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
16namespace Marble
17{
18
19/**
20 * @short Contents used inside a layer.
21 */
22class GEODATA_EXPORT GeoSceneAbstractDataset : public GeoNode
23{
24public:
25 ~GeoSceneAbstractDataset() override = default;
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
35protected:
36 explicit GeoSceneAbstractDataset(const QString &name);
37
38private:
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:35
Contents used inside a layer.
Binds a QML item to a specific geodetic location in screen coordinates.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 8 2024 12:02:43 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.