Marble

PlaybackWaitItem.h
1// SPDX-License-Identifier: LGPL-2.1-or-later
2//
3// SPDX-FileCopyrightText: 2014 Sanjiban Bairagya <sanjiban22393@gmail.com>
4//
5
6#ifndef PLAYBACKWAITITEM_H
7#define PLAYBACKWAITITEM_H
8
9#include "PlaybackItem.h"
10#include <QDateTime>
11
12namespace Marble
13{
14
15class GeoDataWait;
16
17class PlaybackWaitItem : public PlaybackItem
18{
20public:
21 explicit PlaybackWaitItem(const GeoDataWait *wait);
22 const GeoDataWait *wait() const;
23 double duration() const override;
24 void play() override;
25 void pause() override;
26 void seek(double position) override;
27 void stop() override;
28
29private Q_SLOTS:
30 void playNext();
31
32private:
33 const GeoDataWait *m_wait;
34 QDateTime m_start;
35 QDateTime m_pause;
36 bool m_isPlaying;
37};
38}
39#endif
Binds a QML item to a specific geodetic location in screen coordinates.
Q_OBJECTQ_OBJECT
Q_SLOTSQ_SLOTS
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:37:03 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.