• 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
GeoDataDocument_p.h
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 2009 Patrick Spendrin <ps_ml@gmx.de>
9 //
10 
11 #ifndef MARBLE_GEODATADOCUMENTPRIVATE_H
12 #define MARBLE_GEODATADOCUMENTPRIVATE_H
13 
14 #include "GeoDataStyle.h"
15 #include "GeoDataNetworkLinkControl.h"
16 #include "GeoDataStyleMap.h"
17 #include "GeoDataContainer_p.h"
18 
19 #include "GeoDataTypes.h"
20 
21 namespace Marble
22 {
23 
24 class GeoDataDocumentPrivate : public GeoDataContainerPrivate
25 {
26  public:
27  GeoDataDocumentPrivate()
28  : m_documentRole( UnknownDocument )
29  {
30  }
31 
32  virtual GeoDataFeaturePrivate* copy()
33  {
34  GeoDataDocumentPrivate* copy = new GeoDataDocumentPrivate;
35  *copy = *this;
36  return copy;
37  }
38 
39  virtual const char* nodeType() const
40  {
41  return GeoDataTypes::GeoDataDocumentType;
42  }
43 
44  virtual EnumFeatureId featureId() const
45  {
46  return GeoDataDocumentId;
47  }
48 
49  QMap<QString, GeoDataStyle> m_styleHash;
50  QMap<QString, GeoDataStyleMap> m_styleMapHash;
51  QString m_filename;
52  QString m_baseUri;
53  GeoDataNetworkLinkControl m_networkLinkControl;
54  QString m_property;
55  DocumentRole m_documentRole;
56 };
57 
58 } // namespace Marble
59 
60 #endif
Marble::GeoDataDocumentPrivate::m_styleHash
QMap< QString, GeoDataStyle > m_styleHash
Definition: GeoDataDocument_p.h:49
Marble::GeoDataDocumentPrivate::m_documentRole
DocumentRole m_documentRole
Definition: GeoDataDocument_p.h:55
Marble::GeoDataTypes::GeoDataDocumentType
const char * GeoDataDocumentType
Definition: GeoDataTypes.cpp:34
GeoDataStyle.h
Marble::GeoDataDocumentPrivate::nodeType
virtual const char * nodeType() const
Definition: GeoDataDocument_p.h:39
Marble::GeoDataDocumentPrivate
Definition: GeoDataDocument_p.h:24
Marble::GeoDataDocumentPrivate::m_networkLinkControl
GeoDataNetworkLinkControl m_networkLinkControl
Definition: GeoDataDocument_p.h:53
Marble::UnknownDocument
Definition: GeoDataDocument.h:40
Marble::GeoDataDocumentPrivate::m_baseUri
QString m_baseUri
Definition: GeoDataDocument_p.h:52
Marble::GeoDataDocumentPrivate::featureId
virtual EnumFeatureId featureId() const
Definition: GeoDataDocument_p.h:44
Marble::GeoDataDocumentPrivate::m_property
QString m_property
Definition: GeoDataDocument_p.h:54
Marble::GeoDataFeaturePrivate
Definition: GeoDataFeature_p.h:30
Marble::GeoDataDocumentPrivate::m_filename
QString m_filename
Definition: GeoDataDocument_p.h:51
Marble::GeoDataDocumentId
Definition: Serializable.h:32
GeoDataStyleMap.h
Marble::EnumFeatureId
EnumFeatureId
Definition: Serializable.h:30
Marble::GeoDataContainerPrivate
Definition: GeoDataContainer_p.h:21
Marble::GeoDataDocumentPrivate::GeoDataDocumentPrivate
GeoDataDocumentPrivate()
Definition: GeoDataDocument_p.h:27
Marble::GeoDataDocumentPrivate::m_styleMapHash
QMap< QString, GeoDataStyleMap > m_styleMapHash
Definition: GeoDataDocument_p.h:50
Marble::GeoDataDocumentPrivate::copy
virtual GeoDataFeaturePrivate * copy()
Definition: GeoDataDocument_p.h:32
GeoDataNetworkLinkControl.h
GeoDataTypes.h
Marble::GeoDataNetworkLinkControl
Definition: GeoDataNetworkLinkControl.h:27
GeoDataContainer_p.h
Marble::DocumentRole
DocumentRole
Definition: GeoDataDocument.h:39
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:38:49 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