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
7#include "GeoDataStyleSelector.h"
8#include <QDataStream>
9
10#include "GeoDataTypes.h"
11
12namespace Marble
13{
14
15class GeoDataStyleSelectorPrivate
16{
17};
18
19GeoDataStyleSelector::GeoDataStyleSelector() :
20 GeoDataObject(),
21 d( nullptr )
22{
23}
24
25GeoDataStyleSelector::GeoDataStyleSelector( const GeoDataStyleSelector& other ) :
26 GeoDataObject( other ),
27 d( nullptr )
28{
29}
30
31GeoDataStyleSelector::~GeoDataStyleSelector()
32{
33 delete d;
34}
35
36GeoDataStyleSelector& GeoDataStyleSelector::operator=( const GeoDataStyleSelector& other )
37{
38 GeoDataObject::operator=( other );
39 return *this;
40}
41
42bool GeoDataStyleSelector::operator==( const GeoDataStyleSelector &other ) const
43{
44 return GeoDataObject::equals( other );
45}
46
47bool GeoDataStyleSelector::operator!=( const GeoDataStyleSelector &other ) const
48{
49 return !this->operator==( other );
50}
51
52void GeoDataStyleSelector::pack( QDataStream& stream ) const
53{
54 GeoDataObject::pack( stream );
55}
56
57void GeoDataStyleSelector::unpack( QDataStream& stream )
58{
59 GeoDataObject::unpack( stream );
60}
61
62}
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 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.