Marble

GeoDataWait.cpp
1 // SPDX-License-Identifier: LGPL-2.1-or-later
2 //
3 // SPDX-FileCopyrightText: 2013 Mihail Ivchenko <[email protected]>
4 //
5 
6 #include "GeoDataWait.h"
7 
8 #include "GeoDataTypes.h"
9 
10 namespace Marble
11 {
12 
13 GeoDataWait::GeoDataWait() :
14  m_duration(0.0)
15 {
16 }
17 
18 GeoDataWait::~GeoDataWait()
19 {
20 }
21 
22 bool GeoDataWait::operator==(const GeoDataWait& other) const
23 {
24  return this->m_duration == other.m_duration;
25 }
26 
27 bool GeoDataWait::operator!=(const GeoDataWait& other) const
28 {
29  return !this->operator==(other);
30 }
31 
32 const char *GeoDataWait::nodeType() const
33 {
34  return GeoDataTypes::GeoDataWaitType;
35 }
36 
37 double GeoDataWait::duration() const
38 {
39  return m_duration;
40 }
41 
42 void GeoDataWait::setDuration(double duration)
43 {
44  m_duration = duration;
45 }
46 
47 } // namespace Marble
bool operator==(const Qt3DRender::QGraphicsApiFilter &reference, const Qt3DRender::QGraphicsApiFilter &sample)
Binds a QML item to a specific geodetic location in screen coordinates.
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Thu Sep 21 2023 04:12:26 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.