Marble

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

KDE's Doxygen guidelines are available online.