Marble

GeoSceneLicense.h
1// SPDX-License-Identifier: LGPL-2.1-or-later
2//
3// SPDX-FileCopyrightText: 2012 Illya Kovalevskyy <illya.kovalevskyy@gmail.com>
4//
5
6#ifndef MARBLE_GEOSCENE_LICENSE_H
7#define MARBLE_GEOSCENE_LICENSE_H
8
9#include <QString>
10
11#include <geodata_export.h>
12
13#include "GeoDocument.h"
14
15namespace Marble
16{
17
18class GEODATA_EXPORT GeoSceneLicense : public GeoNode
19{
20public:
21 enum Attribution {
22 Never,
23 OptOut,
24 OptIn,
25 Always
26 };
27
28 GeoSceneLicense();
29
30 QString license() const;
31 QString shortLicense() const;
32 Attribution attribution() const;
33
34 void setLicense(const QString &license);
35 void setShortLicense(const QString &license);
36 void setAttribution(Attribution attr);
37
38 const char *nodeType() const override;
39
40private:
41 QString m_fullLicense;
42 QString m_shortLicense;
43 Attribution m_attribution;
44};
45
46}
47
48#endif
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 Mon Nov 4 2024 16:37:03 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.