Marble

GeoDataAnimatedUpdate.h
1// SPDX-License-Identifier: LGPL-2.1-or-later
2//
3// SPDX-FileCopyrightText: 2014 Sanjiban Bairagya <sanjiban22393@gmail.com>
4//
5
6
7#ifndef MARBLE_GEODATAANIMATEDUPDATE_H
8#define MARBLE_GEODATAANIMATEDUPDATE_H
9
10#include "GeoDataTourPrimitive.h"
11#include "MarbleGlobal.h"
12
13namespace Marble {
14
15class GeoDataAnimatedUpdatePrivate;
16class GeoDataUpdate;
17
18/**
19 */
20class GEODATA_EXPORT GeoDataAnimatedUpdate: public GeoDataTourPrimitive
21{
22public:
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
44private:
45 GeoDataAnimatedUpdatePrivate* const d;
46};
47
48}
49
50#endif
void update(Part *part, const QByteArray &data, qint64 dataSize)
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 Fri Jun 21 2024 12:00:06 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.