Marble

GeoDataTourControl.cpp
1// SPDX-License-Identifier: LGPL-2.1-or-later
2//
3// SPDX-FileCopyrightText: 2013 Illya Kovalevskyy <illya.kovalevskyy@gmail.com>
4//
5
6#include "GeoDataTourControl.h"
7
8#include "GeoDataTypes.h"
9
10namespace Marble
11{
12
13GeoDataTourControl::GeoDataTourControl() :
14 m_playMode(Play)
15{
16}
17
18GeoDataTourControl::~GeoDataTourControl()
19{
20}
21
22bool GeoDataTourControl::operator==(const GeoDataTourControl& other) const
23{
24 return this->m_playMode == other.m_playMode;
25}
26
27bool GeoDataTourControl::operator!=(const GeoDataTourControl& other) const
28{
29 return !this->operator==(other);
30}
31
32const char *GeoDataTourControl::nodeType() const
33{
34 return GeoDataTypes::GeoDataTourControlType;
35}
36
37GeoDataTourControl::PlayMode GeoDataTourControl::playMode() const
38{
39 return m_playMode;
40}
41
42void GeoDataTourControl::setPlayMode(PlayMode mode)
43{
44 m_playMode = mode;
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 7 2024 12:03:12 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.