Marble

GeoDataCreate.cpp
1 // SPDX-License-Identifier: LGPL-2.1-or-later
2 //
3 // SPDX-FileCopyrightText: 2014 Sanjiban Bairagya <[email protected]>
4 //
5 
6 #include "GeoDataCreate.h"
7 
8 #include "GeoDataContainer_p.h"
9 #include "GeoDataTypes.h"
10 
11 namespace Marble
12 {
13 
14 class GeoDataCreatePrivate : public GeoDataContainerPrivate
15 {
16 };
17 
18 
19 GeoDataCreate::GeoDataCreate()
20  : GeoDataContainer(new GeoDataCreatePrivate)
21 {
22 }
23 
24 GeoDataCreate::GeoDataCreate(const GeoDataCreate &other)
25  : GeoDataContainer(other, new GeoDataCreatePrivate(*other.d_func()))
26 {
27 }
28 
29 GeoDataCreate &GeoDataCreate::operator=( const GeoDataCreate &other )
30 {
31  if (this != &other) {
32  Q_D(GeoDataCreate);
33  *d = *other.d_func();
34  }
35 
36  return *this;
37 }
38 
39 bool GeoDataCreate::operator==( const GeoDataCreate &other ) const
40 {
41  return GeoDataContainer::equals(other);
42 }
43 
44 bool GeoDataCreate::operator!=( const GeoDataCreate &other ) const
45 {
46  return !this->operator==( other );
47 }
48 
49 GeoDataCreate::~GeoDataCreate()
50 {
51 }
52 
53 GeoDataFeature * GeoDataCreate::clone() const
54 {
55  return new GeoDataCreate(*this);
56 }
57 
58 const char *GeoDataCreate::nodeType() const
59 {
60  return GeoDataTypes::GeoDataCreateType;
61 }
62 
63 }
bool operator==(const Qt3DRender::QGraphicsApiFilter &reference, const Qt3DRender::QGraphicsApiFilter &sample)
Binds a QML item to a specific geodetic location in screen coordinates.
Q_D(Todo)
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.