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

marble

  • sources
  • kde-4.12
  • kdeedu
  • marble
  • src
  • lib
  • marble
  • geodata
  • data
GeoDataTour.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 "GeoDataTour.h"
12 #include "GeoDataPlaylist.h"
13 
14 namespace Marble
15 {
16 
17 class GeoDataTourPrivate
18 {
19 public:
20  GeoDataTourPrivate() :
21  m_id(""),
22  m_playlist(0)
23  {}
24  QString m_id;
25  GeoDataPlaylist *m_playlist;
26 };
27 
28 GeoDataTour::GeoDataTour() :
29  GeoDataFeature(),
30  d(new GeoDataTourPrivate)
31 {
32 }
33 
34 GeoDataTour::GeoDataTour(const GeoDataTour &other) :
35  GeoDataFeature(),
36  d(new GeoDataTourPrivate(*other.d))
37 {
38 }
39 
40 GeoDataTour& GeoDataTour::operator=(const GeoDataTour &other)
41 {
42  GeoDataFeature::operator=(other);
43  *d = *other.d;
44  return *this;
45 }
46 
47 GeoDataTour::~GeoDataTour()
48 {
49  delete d;
50 }
51 
52 QString GeoDataTour::id() const
53 {
54  return d->m_id;
55 }
56 
57 void GeoDataTour::setId(const QString &value)
58 {
59  d->m_id = value;
60 }
61 
62 GeoDataPlaylist* GeoDataTour::playlist()
63 {
64  return d->m_playlist;
65 }
66 
67 const GeoDataPlaylist* GeoDataTour::playlist() const
68 {
69  return d->m_playlist;
70 }
71 
72 void GeoDataTour::setPlaylist(GeoDataPlaylist *playlist)
73 {
74  d->m_playlist = playlist;
75 }
76 
77 } // namespace Marble
Marble::GeoDataTour
Definition: GeoDataTour.h:23
Marble::GeoDataTour::~GeoDataTour
virtual ~GeoDataTour()
Definition: GeoDataTour.cpp:47
Marble::GeoDataPlaylist
Definition: GeoDataPlaylist.h:22
Marble::GeoDataTour::setPlaylist
void setPlaylist(GeoDataPlaylist *playlist)
Definition: GeoDataTour.cpp:72
GeoDataPlaylist.h
Marble::GeoDataTour::setId
void setId(const QString &value)
Definition: GeoDataTour.cpp:57
Marble::GeoDataTour::GeoDataTour
GeoDataTour()
Definition: GeoDataTour.cpp:28
Marble::GeoDataFeature
A base class for all geodata features.
Definition: GeoDataFeature.h:55
Marble::GeoDataTour::operator=
GeoDataTour & operator=(const GeoDataTour &other)
Definition: GeoDataTour.cpp:40
Marble::GeoDataTour::playlist
GeoDataPlaylist * playlist()
Definition: GeoDataTour.cpp:62
GeoDataTour.h
Marble::GeoDataFeature::operator=
GeoDataFeature & operator=(const GeoDataFeature &other)
Definition: GeoDataFeature.cpp:80
Marble::GeoDataTour::id
QString id() const
Definition: GeoDataTour.cpp:52
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:38:50 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
  • kstars
  • libkdeedu
  •   keduvocdocument
  • 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