Marble

GeoDataTimePrimitive.cpp
1// SPDX-License-Identifier: LGPL-2.1-or-later
2//
3// SPDX-FileCopyrightText: 2010 Harshit Jain <hjain.itbhu@gmail.com>
4//
5
6// Own
7#include "GeoDataTimePrimitive.h"
8
9// Private
10#include "GeoDataTimePrimitive_p.h"
11
12// Qt
13#include <QDataStream>
14
15// GeoData
16#include "GeoDataTypes.h"
17
18namespace Marble
19{
20
21GeoDataTimePrimitive::GeoDataTimePrimitive()
22 : GeoDataObject(), d( new GeoDataTimePrimitivePrivate )
23{
24}
25
26GeoDataTimePrimitive::GeoDataTimePrimitive( const GeoDataTimePrimitive& other )
27 : GeoDataObject( other ), d( new GeoDataTimePrimitivePrivate( *other.d ) )
28{
29}
30
31GeoDataTimePrimitive::~GeoDataTimePrimitive()
32{
33 delete d;
34}
35
36GeoDataTimePrimitive& GeoDataTimePrimitive::operator=( const GeoDataTimePrimitive& other )
37{
38 GeoDataObject::operator=( other );
39 *d = *other.d;
40 return *this;
41}
42
43const char* GeoDataTimePrimitive::nodeType() const
44{
45 return GeoDataTypes::GeoDataTimePrimitiveType;
46}
47
48void GeoDataTimePrimitive::pack( QDataStream& stream ) const
49{
50 GeoDataObject::pack( stream );
51}
52
53void GeoDataTimePrimitive::unpack( QDataStream& stream )
54{
55 GeoDataObject::unpack( stream );
56}
57
58}
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.