Marble

GeoDataAnimatedUpdate.h
1 // SPDX-License-Identifier: LGPL-2.1-or-later
2 //
3 // SPDX-FileCopyrightText: 2014 Sanjiban Bairagya <[email protected]>
4 //
5 
6 
7 #ifndef MARBLE_GEODATAANIMATEDUPDATE_H
8 #define MARBLE_GEODATAANIMATEDUPDATE_H
9 
10 #include "GeoDataTourPrimitive.h"
11 #include "MarbleGlobal.h"
12 
13 namespace Marble {
14 
15 class GeoDataAnimatedUpdatePrivate;
16 class GeoDataUpdate;
17 
18 /**
19  */
20 class GEODATA_EXPORT GeoDataAnimatedUpdate: public GeoDataTourPrimitive
21 {
22 public:
23 
24  GeoDataAnimatedUpdate();
25  GeoDataAnimatedUpdate( const GeoDataAnimatedUpdate &other );
26  GeoDataAnimatedUpdate& operator=( const GeoDataAnimatedUpdate &other );
27  bool operator== (const GeoDataAnimatedUpdate &other) const;
28  bool operator!= (const GeoDataAnimatedUpdate &other) const;
29  ~GeoDataAnimatedUpdate() override;
30 
31  /** Provides type information for downcasting a GeoNode */
32  const char* nodeType() const override;
33 
34  double duration() const;
35  void setDuration( double duration );
36 
37  double delayedStart() const;
38  void setDelayedStart( double delayedStart );
39 
40  const GeoDataUpdate* update() const;
41  GeoDataUpdate* update();
42  void setUpdate( GeoDataUpdate *update );
43 
44 private:
45  GeoDataAnimatedUpdatePrivate* const d;
46 };
47 
48 }
49 
50 #endif
Binds a QML item to a specific geodetic location in screen coordinates.
void update(Part *part, const QByteArray &data, qint64 dataSize)
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Thu Sep 21 2023 04:12:26 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.