Marble

PlaybackItem.h
1// SPDX-License-Identifier: LGPL-2.1-or-later
2//
3// SPDX-FileCopyrightText: 2014 Sanjiban Bairagya <sanjiban22393@gmail.com>
4//
5
6#ifndef PLAYBACKITEM_H
7#define PLAYBACKITEM_H
8
9#include <QObject>
10
11namespace Marble
12{
13
14class GeoDataContainer;
15class GeoDataCoordinates;
16class GeoDataFeature;
17class GeoDataPlacemark;
18
19class PlaybackItem : public QObject
20{
22public:
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
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
Binds a QML item to a specific geodetic location in screen coordinates.
Q_OBJECTQ_OBJECT
Q_SIGNALSQ_SIGNALS
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Jul 26 2024 11:57:57 by doxygen 1.11.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.