Marble

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

KDE's Doxygen guidelines are available online.