Marble

GeoScenePalette.h
1 /*
2  SPDX-FileCopyrightText: 2008 Torsten Rahn <[email protected]>
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 
14 namespace Marble
15 {
16 
17 /**
18  * @short Palette of a GeoScene document.
19  */
20 
21 class GeoScenePalette : public GeoNode
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:34
const char * nodeType() const override
Provides type information for downcasting a GeoNode.
Binds a QML item to a specific geodetic location in screen coordinates.
Palette of a GeoScene document.
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Sep 25 2023 03:50:19 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.