Marble

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

KDE's Doxygen guidelines are available online.