Marble

GeoSceneIcon.cpp
1 /*
2  SPDX-FileCopyrightText: 2008 Torsten Rahn <[email protected]>
3 
4  SPDX-License-Identifier: LGPL-2.0-or-later
5 */
6 
7 #include "GeoSceneIcon.h"
8 
9 #include "GeoSceneTypes.h"
10 
11 namespace Marble
12 {
13 
14 GeoSceneIcon::GeoSceneIcon()
15  : m_color()
16 {
17 }
18 
19 GeoSceneIcon::~GeoSceneIcon()
20 {
21 }
22 
23 QString GeoSceneIcon::pixmap() const
24 {
25  return m_pixmap;
26 }
27 
28 void GeoSceneIcon::setPixmap( const QString& pixmap )
29 {
30  m_pixmap = pixmap;
31 }
32 
33 QColor GeoSceneIcon::color() const
34 {
35  return m_color;
36 }
37 
38 void GeoSceneIcon::setColor( const QColor& color )
39 {
40  m_color = color;
41 }
42 
43 const char *GeoSceneIcon::nodeType() const
44 {
45  return GeoSceneTypes::GeoSceneIconType;
46 }
47 
48 }
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-2023 The KDE developers.
Generated on Thu Sep 21 2023 04:12:26 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.