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
22{
23 public:
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
36 private:
37 QString m_type;
38 QString m_file;
39};
40
41}
42
43#endif
A shared base class for all classes that are mapped to a specific tag (ie.
Definition GeoDocument.h:35
Palette of a GeoScene document.
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-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:18:17 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.