Marble

GeoDataTourControl.h
1// SPDX-License-Identifier: LGPL-2.1-or-later
2//
3// SPDX-FileCopyrightText: 2013 Illya Kovalevskyy <illya.kovalevskyy@gmail.com>
4//
5
6#ifndef GEODATATOURCONTROL_H
7#define GEODATATOURCONTROL_H
8
9#include "GeoDataTourPrimitive.h"
10
11namespace Marble
12{
13
14/**
15 */
16class GEODATA_EXPORT GeoDataTourControl : public GeoDataTourPrimitive
17{
18public:
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
34private:
35 PlayMode m_playMode;
36};
37
38} // namespace Marble
39
40#endif // GEODATATOURCONTROL_H
KIOCORE_EXPORT bool operator!=(const UDSEntry &entry, const UDSEntry &other)
KIOCORE_EXPORT bool operator==(const UDSEntry &entry, const UDSEntry &other)
Binds a QML item to a specific geodetic location in screen coordinates.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:37:03 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.