Marble

PlaybackItem.h
1 // SPDX-License-Identifier: LGPL-2.1-or-later
2 //
3 // SPDX-FileCopyrightText: 2014 Sanjiban Bairagya <[email protected]>
4 //
5 
6 #ifndef PLAYBACKITEM_H
7 #define PLAYBACKITEM_H
8 
9 #include <QObject>
10 
11 namespace Marble
12 {
13 
14 class GeoDataContainer;
15 class GeoDataCoordinates;
16 class GeoDataFeature;
17 class GeoDataPlacemark;
18 
19 class PlaybackItem : public QObject
20 {
21  Q_OBJECT
22 public:
23  ~PlaybackItem() override;
24  virtual void play() = 0;
25  virtual void pause() = 0;
26  virtual void seek( double position ) = 0;
27  virtual void stop() = 0;
28  virtual double duration() const = 0;
29 
30 Q_SIGNALS:
31  void finished();
32  void centerOn( const GeoDataCoordinates &coordinates );
33  void paused();
34  void progressChanged( double seconds );
35  void balloonShown( GeoDataPlacemark* );
36  void balloonHidden();
37  void updated( GeoDataFeature* );
38  void added( GeoDataContainer *parent, GeoDataFeature *feature, int row );
39  void removed( const GeoDataFeature *feature );
40 };
41 }
42 #endif
Q_OBJECTQ_OBJECT
void stop(Ekos::AlignState mode)
Q_SCRIPTABLE Q_NOREPLY void pause()
Binds a QML item to a specific geodetic location in screen coordinates.
Q_SIGNALSQ_SIGNALS
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Sep 25 2023 03:50:20 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.