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() = default;
20
21QString GeoSceneIcon::pixmap() const
22{
23 return m_pixmap;
24}
25
26void GeoSceneIcon::setPixmap(const QString &pixmap)
27{
28 m_pixmap = pixmap;
29}
30
31QColor GeoSceneIcon::color() const
32{
33 return m_color;
34}
35
36void GeoSceneIcon::setColor(const QColor &color)
37{
38 m_color = color;
39}
40
41const char *GeoSceneIcon::nodeType() const
42{
43 return GeoSceneTypes::GeoSceneIconType;
44}
45
46}
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 Sat Dec 21 2024 17:04:14 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.