Marble

GeoDataSoundCue.cpp
1 // SPDX-License-Identifier: LGPL-2.1-or-later
2 //
3 // SPDX-FileCopyrightText: 2013 Illya Kovalevskyy <[email protected]>
4 //
5 
6 #include "GeoDataSoundCue.h"
7 #include "GeoDataTypes.h"
8 
9 namespace Marble
10 {
11 
12 GeoDataSoundCue::GeoDataSoundCue() :
13  m_delayedStart(0)
14 {
15 }
16 
17 bool GeoDataSoundCue::operator==(const GeoDataSoundCue& other) const
18 {
19  return this->m_delayedStart == other.m_delayedStart && this->m_href == other.m_href;
20 }
21 
22 bool GeoDataSoundCue::operator!=(const GeoDataSoundCue& other) const
23 {
24  return !this->operator==(other);
25 }
26 
27 GeoDataSoundCue::~GeoDataSoundCue()
28 {
29 }
30 
31 const char *GeoDataSoundCue::nodeType() const
32 {
33  return GeoDataTypes::GeoDataSoundCueType;
34 }
35 
36 QString GeoDataSoundCue::href() const
37 {
38  return m_href;
39 }
40 
41 void GeoDataSoundCue::setHref(const QString &url)
42 {
43  m_href = url;
44 }
45 
46 double GeoDataSoundCue::delayedStart() const
47 {
48  return m_delayedStart;
49 }
50 
51 void GeoDataSoundCue::setDelayedStart(double pause)
52 {
53  m_delayedStart = pause;
54 }
55 
56 } // namespace Marble
bool operator==(const Qt3DRender::QGraphicsApiFilter &reference, const Qt3DRender::QGraphicsApiFilter &sample)
Q_SCRIPTABLE Q_NOREPLY void pause()
Binds a QML item to a specific geodetic location in screen coordinates.
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Thu Sep 21 2023 04:12:26 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.