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
18
19GeoDataDelete::GeoDataDelete()
20 : GeoDataContainer(new GeoDataDeletePrivate)
21{
22}
23
24GeoDataDelete::GeoDataDelete(const GeoDataDelete &other)
25 : GeoDataContainer(other, new GeoDataDeletePrivate(*other.d_func()))
26{
27}
28
29GeoDataDelete &GeoDataDelete::operator=( const GeoDataDelete &other )
30{
31 if (this != &other) {
32 Q_D(GeoDataDelete);
33 *d = *other.d_func();
34 }
35
36 return *this;
37}
38
39bool GeoDataDelete::operator==( const GeoDataDelete &other ) const
40{
41 return GeoDataContainer::equals(other);
42}
43
44bool GeoDataDelete::operator!=( const GeoDataDelete &other ) const
45{
46 return !this->operator==( other );
47}
48
49GeoDataDelete::~GeoDataDelete()
50{
51}
52
53GeoDataFeature * GeoDataDelete::clone() const
54{
55 return new GeoDataDelete(*this);
56}
57
58const char *GeoDataDelete::nodeType() const
59{
60 return GeoDataTypes::GeoDataDeleteType;
61}
62
63}
Binds a QML item to a specific geodetic location in screen coordinates.
bool operator==(const QGraphicsApiFilter &reference, const QGraphicsApiFilter &sample)
Q_D(Todo)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:18:17 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.