Marble

GeoSceneVector.cpp
1 /*
2  SPDX-FileCopyrightText: 2008 Torsten Rahn <[email protected]>
3 
4  SPDX-License-Identifier: LGPL-2.0-or-later
5 */
6 
7 #include "GeoSceneVector.h"
8 #include "GeoSceneTypes.h"
9 
10 namespace Marble
11 {
12 
13 GeoSceneVector::GeoSceneVector( const QString& name )
14  : GeoSceneAbstractDataset( name ),
15  m_sourceFile(),
16  m_feature(),
17  m_pen(),
18  m_brush()
19 {
20 }
21 
22 const char* GeoSceneVector::nodeType() const
23 {
24  return GeoSceneTypes::GeoSceneVectorType;
25 }
26 
27 QString GeoSceneVector::sourceFile() const
28 {
29  return m_sourceFile;
30 }
31 
32 void GeoSceneVector::setSourceFile( const QString& sourceFile )
33 {
34  m_sourceFile = sourceFile;
35 }
36 
37 QString GeoSceneVector::feature() const
38 {
39  return m_feature;
40 }
41 
42 void GeoSceneVector::setFeature( const QString& feature )
43 {
44  m_feature = feature;
45 }
46 
47 QPen GeoSceneVector::pen() const
48 {
49  return m_pen;
50 }
51 
52 void GeoSceneVector::setPen( const QPen& pen )
53 {
54  m_pen = pen;
55 }
56 
57 QBrush GeoSceneVector::brush() const
58 {
59  return m_brush;
60 }
61 
62 void GeoSceneVector::setBrush( const QBrush& brush )
63 {
64  m_brush = brush;
65 }
66 
67 }
Binds a QML item to a specific geodetic location in screen coordinates.
const char * nodeType() const override
Provides type information for downcasting a GeoNode.
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Thu Jan 20 2022 23:11:30 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.