Marble

GeoDataDelete.cpp
1// SPDX-License-Identifier: LGPL-2.1-or-later
2//
3// SPDX-FileCopyrightText: 2014 Sanjiban Bairagya <sanjiban22393@gmail.com>
4//
5
6#include "GeoDataDelete.h"
7
8#include "GeoDataContainer_p.h"
9#include "GeoDataTypes.h"
10
11namespace Marble
12{
13
14class GeoDataDeletePrivate : public GeoDataContainerPrivate
15{
16};
17
18GeoDataDelete::GeoDataDelete()
19 : GeoDataContainer(new GeoDataDeletePrivate)
20{
21}
22
23GeoDataDelete::GeoDataDelete(const GeoDataDelete &other)
24 : GeoDataContainer(other, new GeoDataDeletePrivate(*other.d_func()))
25{
26}
27
28GeoDataDelete &GeoDataDelete::operator=(const GeoDataDelete &other)
29{
30 if (this != &other) {
31 Q_D(GeoDataDelete);
32 *d = *other.d_func();
33 }
34
35 return *this;
36}
37
38bool GeoDataDelete::operator==(const GeoDataDelete &other) const
39{
40 return GeoDataContainer::equals(other);
41}
42
43bool GeoDataDelete::operator!=(const GeoDataDelete &other) const
44{
45 return !this->operator==(other);
46}
47
48GeoDataDelete::~GeoDataDelete() = default;
49
50GeoDataFeature *GeoDataDelete::clone() const
51{
52 return new GeoDataDelete(*this);
53}
54
55const char *GeoDataDelete::nodeType() const
56{
57 return GeoDataTypes::GeoDataDeleteType;
58}
59
60}
bool operator==(const StyleDelim &l, const StyleDelim &r)
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-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:04:13 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.