File indexing completed on 2024-05-12 03:50:18

0001 // SPDX-License-Identifier: LGPL-2.1-or-later
0002 //
0003 // SPDX-FileCopyrightText: 2007 Murad Tagirov <tmurad@gmail.com>
0004 //
0005 
0006 
0007 #include "GeoDataStyleSelector.h"
0008 #include <QDataStream>
0009 
0010 #include "GeoDataTypes.h"
0011 
0012 namespace Marble
0013 {
0014 
0015 class GeoDataStyleSelectorPrivate
0016 {
0017 };
0018 
0019 GeoDataStyleSelector::GeoDataStyleSelector() :
0020     GeoDataObject(),
0021     d( nullptr )
0022 {
0023 }
0024 
0025 GeoDataStyleSelector::GeoDataStyleSelector( const GeoDataStyleSelector& other ) :
0026     GeoDataObject( other ),
0027     d( nullptr )
0028 {
0029 }
0030 
0031 GeoDataStyleSelector::~GeoDataStyleSelector()
0032 {
0033     delete d;
0034 }
0035 
0036 GeoDataStyleSelector& GeoDataStyleSelector::operator=( const GeoDataStyleSelector& other )
0037 {
0038     GeoDataObject::operator=( other );
0039     return *this;
0040 }
0041 
0042 bool GeoDataStyleSelector::operator==( const GeoDataStyleSelector &other ) const
0043 {
0044     return GeoDataObject::equals( other );
0045 }
0046 
0047 bool GeoDataStyleSelector::operator!=( const GeoDataStyleSelector &other ) const
0048 {
0049     return !this->operator==( other );
0050 }
0051 
0052 void GeoDataStyleSelector::pack( QDataStream& stream ) const
0053 {
0054     GeoDataObject::pack( stream );
0055 }
0056 
0057 void GeoDataStyleSelector::unpack( QDataStream& stream )
0058 {
0059     GeoDataObject::unpack( stream );
0060 }
0061 
0062 }