Marble

GeoDataTourControl.h
1 // SPDX-License-Identifier: LGPL-2.1-or-later
2 //
3 // SPDX-FileCopyrightText: 2013 Illya Kovalevskyy <[email protected]>
4 //
5 
6 #ifndef GEODATATOURCONTROL_H
7 #define GEODATATOURCONTROL_H
8 
9 #include "GeoDataTourPrimitive.h"
10 
11 namespace Marble
12 {
13 
14 /**
15  */
16 class GEODATA_EXPORT GeoDataTourControl : public GeoDataTourPrimitive
17 {
18 public:
19  enum PlayMode {
20  Play,
21  Pause
22  };
23 
24  GeoDataTourControl();
25  ~GeoDataTourControl() override;
26 
27  bool operator==( const GeoDataTourControl &other ) const;
28  bool operator!=( const GeoDataTourControl &other ) const;
29  const char *nodeType() const override;
30 
31  PlayMode playMode() const;
32  void setPlayMode(PlayMode mode);
33 
34 private:
35  PlayMode m_playMode;
36 };
37 
38 } // namespace Marble
39 
40 #endif // GEODATATOURCONTROL_H
bool operator==(const Qt3DRender::QGraphicsApiFilter &reference, const Qt3DRender::QGraphicsApiFilter &sample)
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 Oct 2 2023 03:52:08 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.