Marble

GeoDataSoundCue.cpp
1// SPDX-License-Identifier: LGPL-2.1-or-later
2//
3// SPDX-FileCopyrightText: 2013 Illya Kovalevskyy <illya.kovalevskyy@gmail.com>
4//
5
6#include "GeoDataSoundCue.h"
7#include "GeoDataTypes.h"
8
9namespace Marble
10{
11
12GeoDataSoundCue::GeoDataSoundCue() :
13 m_delayedStart(0)
14{
15}
16
17bool GeoDataSoundCue::operator==(const GeoDataSoundCue& other) const
18{
19 return this->m_delayedStart == other.m_delayedStart && this->m_href == other.m_href;
20}
21
22bool GeoDataSoundCue::operator!=(const GeoDataSoundCue& other) const
23{
24 return !this->operator==(other);
25}
26
27GeoDataSoundCue::~GeoDataSoundCue()
28{
29}
30
31const char *GeoDataSoundCue::nodeType() const
32{
33 return GeoDataTypes::GeoDataSoundCueType;
34}
35
36QString GeoDataSoundCue::href() const
37{
38 return m_href;
39}
40
41void GeoDataSoundCue::setHref(const QString &url)
42{
43 m_href = url;
44}
45
46double GeoDataSoundCue::delayedStart() const
47{
48 return m_delayedStart;
49}
50
51void GeoDataSoundCue::setDelayedStart(double pause)
52{
53 m_delayedStart = pause;
54}
55
56} // namespace Marble
Q_SCRIPTABLE Q_NOREPLY void pause()
Binds a QML item to a specific geodetic location in screen coordinates.
bool operator==(const QGraphicsApiFilter &reference, const QGraphicsApiFilter &sample)
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.