Marble

GeoSceneVector.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 "GeoSceneVector.h"
8#include "GeoSceneTypes.h"
9
10namespace Marble
11{
12
13GeoSceneVector::GeoSceneVector(const QString &name)
14 : GeoSceneAbstractDataset(name)
15 , m_sourceFile()
16 , m_feature()
17 , m_pen()
18 , m_brush()
19{
20}
21
22const char *GeoSceneVector::nodeType() const
23{
24 return GeoSceneTypes::GeoSceneVectorType;
25}
26
27QString GeoSceneVector::sourceFile() const
28{
29 return m_sourceFile;
30}
31
32void GeoSceneVector::setSourceFile(const QString &sourceFile)
33{
34 m_sourceFile = sourceFile;
35}
36
37QString GeoSceneVector::feature() const
38{
39 return m_feature;
40}
41
42void GeoSceneVector::setFeature(const QString &feature)
43{
44 m_feature = feature;
45}
46
47QPen GeoSceneVector::pen() const
48{
49 return m_pen;
50}
51
52void GeoSceneVector::setPen(const QPen &pen)
53{
54 m_pen = pen;
55}
56
57QBrush GeoSceneVector::brush() const
58{
59 return m_brush;
60}
61
62void GeoSceneVector::setBrush(const QBrush &brush)
63{
64 m_brush = brush;
65}
66
67}
QString name(StandardAction id)
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.