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 { Never, OptOut, OptIn, Always };
22
23 GeoSceneLicense();
24
25 QString license() const;
26 QString shortLicense() const;
27 Attribution attribution() const;
28
29 void setLicense(const QString &license);
30 void setShortLicense(const QString &license);
31 void setAttribution(Attribution attr);
32
33 const char *nodeType() const override;
34
35private:
36 QString m_fullLicense;
37 QString m_shortLicense;
38 Attribution m_attribution;
39};
40
41}
42
43#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 Fri Oct 11 2024 12:14:13 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.