Marble

GeoScenePalette.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_GEOSCENEPALETTE_H
8#define MARBLE_GEOSCENEPALETTE_H
9
10#include <QString>
11
12#include "GeoDocument.h"
13
14namespace Marble
15{
16
17/**
18 * @short Palette of a GeoScene document.
19 */
20
21class GeoScenePalette : public GeoNode
22{
23public:
24 GeoScenePalette(const QString &type, const QString &file);
25
26 QString type() const;
27 void setType(const QString &type);
28
29 QString file() const;
30 void setFile(const QString &file);
31
32 bool operator==(const GeoScenePalette &rhs) const;
33
34 const char *nodeType() const override;
35
36private:
37 QString m_type;
38 QString m_file;
39};
40
41}
42
43#endif
const char * nodeType() const override
Provides type information for downcasting a GeoNode.
Binds a QML item to a specific geodetic location in screen coordinates.
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:52:09 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.