File indexing completed on 2024-05-19 03:51:50

0001 /*
0002     SPDX-FileCopyrightText: 2008 Torsten Rahn <rahn@kde.org>
0003 
0004     SPDX-License-Identifier: LGPL-2.0-or-later
0005 */
0006 
0007 #ifndef MARBLE_GEOSCENEPALETTE_H
0008 #define MARBLE_GEOSCENEPALETTE_H
0009 
0010 #include <QString>
0011 
0012 #include "GeoDocument.h"
0013 
0014 namespace Marble
0015 {
0016 
0017 /**
0018  * @short Palette of a GeoScene document.
0019  */
0020 
0021 class GeoScenePalette : public GeoNode
0022 {
0023  public:
0024     GeoScenePalette( const QString& type, const QString& file );
0025 
0026     QString type() const;
0027     void    setType( const QString& type );
0028 
0029     QString file() const;
0030     void    setFile( const QString& file );
0031 
0032     bool operator==( const GeoScenePalette& rhs ) const;
0033 
0034     const char *nodeType() const override;
0035 
0036  private:
0037     QString m_type;
0038     QString m_file;
0039 };
0040 
0041 }
0042 
0043 #endif