• 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
GeoDataUpdate.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 Mohammed Nafees <nafees.technocool@gmail.com>
9 //
10 
11 #include "GeoDataUpdate.h"
12 #include "GeoDataTypes.h"
13 
14 namespace Marble
15 {
16 
17 class GeoDataUpdatePrivate
18 {
19 public:
20  GeoDataUpdatePrivate();
21 
22  QString m_targetHref;
23 };
24 
25 GeoDataUpdatePrivate::GeoDataUpdatePrivate() :
26  m_targetHref( "" )
27 {
28 }
29 
30 GeoDataUpdate::GeoDataUpdate() :
31  d( new GeoDataUpdatePrivate )
32 {
33 }
34 
35 GeoDataUpdate::GeoDataUpdate( const Marble::GeoDataUpdate &other ) :
36  GeoDataObject(), d( new GeoDataUpdatePrivate( *other.d ) )
37 {
38 }
39 
40 GeoDataUpdate &GeoDataUpdate::operator=( const GeoDataUpdate &other )
41 {
42  GeoDataObject::operator =( other );
43  *d = *other.d;
44  return *this;
45 }
46 
47 GeoDataUpdate::~GeoDataUpdate()
48 {
49  delete d;
50 }
51 
52 const char *GeoDataUpdate::nodeType() const
53 {
54  return GeoDataTypes::GeoDataUpdateType;
55 }
56 
57 QString GeoDataUpdate::targetHref() const
58 {
59  return d->m_targetHref;
60 }
61 
62 void GeoDataUpdate::setTargetHref( const QString &targetHref )
63 {
64  d->m_targetHref = targetHref;
65 }
66 
67 }
Marble::GeoDataUpdate::targetHref
QString targetHref() const
Definition: GeoDataUpdate.cpp:57
Marble::GeoDataUpdate::~GeoDataUpdate
~GeoDataUpdate()
Definition: GeoDataUpdate.cpp:47
Marble::GeoDataObject
A base class for all geodata objects.
Definition: GeoDataObject.h:48
Marble::GeoDataUpdate::GeoDataUpdate
GeoDataUpdate()
Definition: GeoDataUpdate.cpp:30
Marble::GeoDataUpdate::setTargetHref
void setTargetHref(const QString &targetHref)
Definition: GeoDataUpdate.cpp:62
Marble::GeoDataTypes::GeoDataUpdateType
const char * GeoDataUpdateType
Definition: GeoDataTypes.cpp:86
GeoDataUpdate.h
Marble::GeoDataUpdate::operator=
GeoDataUpdate & operator=(const GeoDataUpdate &other)
Definition: GeoDataUpdate.cpp:40
Marble::GeoDataObject::operator=
GeoDataObject & operator=(const GeoDataObject &)
Definition: GeoDataObject.cpp:54
Marble::GeoDataUpdate
Definition: GeoDataUpdate.h:22
Marble::GeoDataUpdate::nodeType
virtual const char * nodeType() const
Provides type information for downcasting a GeoNode.
Definition: GeoDataUpdate.cpp:52
GeoDataTypes.h
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