• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeedu API Reference
  • KDE Home
  • Contact Us
 

marble

  • sources
  • kde-4.14
  • kdeedu
  • marble
  • src
  • lib
  • marble
  • geodata
  • data
GeoDataSoundCue.cpp
Go to the documentation of this file.
1 //
2 // This file is part of the Marble Virtual Globe.
3 //
4 // This program is free software licensed under the GNU LGPL. You can
5 // find a copy of this license in LICENSE.txt in the top directory of
6 // the source code.
7 //
8 // Copyright 2013 Illya Kovalevskyy <illya.kovalevskyy@gmail.com>
9 //
10 
11 #include "GeoDataSoundCue.h"
12 #include "GeoDataTypes.h"
13 
14 namespace Marble
15 {
16 
17 GeoDataSoundCue::GeoDataSoundCue() :
18  m_delayedStart(0)
19 {
20 }
21 
22 bool GeoDataSoundCue::operator==(const GeoDataSoundCue& other) const
23 {
24  return this->m_delayedStart == other.m_delayedStart && this->m_href == other.m_href;
25 }
26 
27 bool GeoDataSoundCue::operator!=(const GeoDataSoundCue& other) const
28 {
29  return !this->operator==(other);
30 }
31 
32 GeoDataSoundCue::~GeoDataSoundCue()
33 {
34 }
35 
36 const char *GeoDataSoundCue::nodeType() const
37 {
38  return GeoDataTypes::GeoDataSoundCueType;
39 }
40 
41 QString GeoDataSoundCue::href() const
42 {
43  return m_href;
44 }
45 
46 void GeoDataSoundCue::setHref(const QString &url)
47 {
48  m_href = url;
49 }
50 
51 double GeoDataSoundCue::delayedStart() const
52 {
53  return m_delayedStart;
54 }
55 
56 void GeoDataSoundCue::setDelayedStart(double pause)
57 {
58  m_delayedStart = pause;
59 }
60 
61 } // namespace Marble
Marble::GeoDataSoundCue::delayedStart
double delayedStart() const
Definition: GeoDataSoundCue.cpp:51
Marble::GeoDataSoundCue::~GeoDataSoundCue
~GeoDataSoundCue()
Definition: GeoDataSoundCue.cpp:32
Marble::GeoDataSoundCue
Definition: GeoDataSoundCue.h:19
GeoDataSoundCue.h
Marble::GeoDataTypes::GeoDataSoundCueType
const char * GeoDataSoundCueType
Definition: GeoDataTypes.cpp:79
QString
Marble::GeoDataSoundCue::href
QString href() const
Definition: GeoDataSoundCue.cpp:41
Marble::GeoDataSoundCue::GeoDataSoundCue
GeoDataSoundCue()
Definition: GeoDataSoundCue.cpp:17
Marble::GeoDataSoundCue::nodeType
const char * nodeType() const
Provides type information for downcasting a GeoNode.
Definition: GeoDataSoundCue.cpp:36
Marble::GeoDataSoundCue::operator==
bool operator==(const GeoDataSoundCue &other) const
Definition: GeoDataSoundCue.cpp:22
Marble::GeoDataSoundCue::setDelayedStart
void setDelayedStart(double pause)
Definition: GeoDataSoundCue.cpp:56
GeoDataTypes.h
Marble::GeoDataSoundCue::setHref
void setHref(const QString &url)
Definition: GeoDataSoundCue.cpp:46
Marble::GeoDataSoundCue::operator!=
bool operator!=(const GeoDataSoundCue &other) const
Definition: GeoDataSoundCue.cpp:27
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:39 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

marble

Skip menu "marble"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal