Marble

GeoDataStyleSelector.cpp
1// SPDX-License-Identifier: LGPL-2.1-or-later
2//
3// SPDX-FileCopyrightText: 2007 Murad Tagirov <tmurad@gmail.com>
4//
5
6#include "GeoDataStyleSelector.h"
7#include <QDataStream>
8
9#include "GeoDataTypes.h"
10
11namespace Marble
12{
13
14class GeoDataStyleSelectorPrivate
15{
16};
17
18GeoDataStyleSelector::GeoDataStyleSelector()
19 : GeoDataObject()
20 , d(nullptr)
21{
22}
23
24GeoDataStyleSelector::GeoDataStyleSelector(const GeoDataStyleSelector &other)
25 : GeoDataObject(other)
26 , d(nullptr)
27{
28}
29
30GeoDataStyleSelector::~GeoDataStyleSelector()
31{
32 delete d;
33}
34
35GeoDataStyleSelector &GeoDataStyleSelector::operator=(const GeoDataStyleSelector &other)
36{
37 GeoDataObject::operator=(other);
38 return *this;
39}
40
41bool GeoDataStyleSelector::operator==(const GeoDataStyleSelector &other) const
42{
43 return GeoDataObject::equals(other);
44}
45
46bool GeoDataStyleSelector::operator!=(const GeoDataStyleSelector &other) const
47{
48 return !this->operator==(other);
49}
50
51void GeoDataStyleSelector::pack(QDataStream &stream) const
52{
53 GeoDataObject::pack(stream);
54}
55
56void GeoDataStyleSelector::unpack(QDataStream &stream)
57{
58 GeoDataObject::unpack(stream);
59}
60
61}
an abstract base class for the style classes
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 Fri Dec 27 2024 11:50:59 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.