Marble

PlaybackSoundCueItem.h
1// SPDX-License-Identifier: LGPL-2.1-or-later
2//
3// SPDX-FileCopyrightText: 2014 Sanjiban Bairagya <sanjiban22393@gmail.com>
4//
5
6#ifndef PLAYBACKSOUNDCUEITEM_H
7#define PLAYBACKSOUNDCUEITEM_H
8
9#include "PlaybackItem.h"
10
11#include <config-phonon.h>
12
13#if HAVE_PHONON
14#include <phonon/MediaObject>
15#endif
16
17namespace Marble
18{
19
20class GeoDataSoundCue;
21
22class PlaybackSoundCueItem : public PlaybackItem
23{
25public:
26 explicit PlaybackSoundCueItem( const GeoDataSoundCue* soundCue );
27 const GeoDataSoundCue* soundCue() const;
28 double duration() const override;
29 void play() override;
30 void pause() override;
31 void seek( double position ) override;
32 void stop() override;
33private:
34 const GeoDataSoundCue* m_soundCue;
35 QString m_href;
36#if HAVE_PHONON
38#endif
39};
40
41}
42#endif
Binds a QML item to a specific geodetic location in screen coordinates.
Q_OBJECTQ_OBJECT
T qobject_cast(QObject *object)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Jun 21 2024 12:00:07 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.