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 #include "GeoSceneIcon.h"
0008 
0009 #include "GeoSceneTypes.h"
0010 
0011 namespace Marble
0012 {
0013 
0014 GeoSceneIcon::GeoSceneIcon()
0015     : m_color()
0016 {
0017 }
0018 
0019 GeoSceneIcon::~GeoSceneIcon()
0020 {
0021 }
0022 
0023 QString GeoSceneIcon::pixmap() const
0024 {
0025     return m_pixmap;
0026 }
0027 
0028 void GeoSceneIcon::setPixmap( const QString& pixmap )
0029 {
0030     m_pixmap = pixmap;
0031 }
0032 
0033 QColor GeoSceneIcon::color() const
0034 {
0035     return m_color;
0036 }
0037 
0038 void GeoSceneIcon::setColor( const QColor& color )
0039 {
0040     m_color = color;
0041 }
0042 
0043 const char *GeoSceneIcon::nodeType() const
0044 {
0045     return GeoSceneTypes::GeoSceneIconType;
0046 }
0047 
0048 }