• 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
GeoDataStyleMap.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 2008 Patrick Spendrin <ps_ml@gmx.de>
9 //
10 
11 
12 #ifndef MARBLE_GEODATASTYLEMAP_H
13 #define MARBLE_GEODATASTYLEMAP_H
14 
15 
16 #include <QString>
17 #include <QMap>
18 
19 #include "GeoDataObject.h"
20 #include "GeoDataStyleSelector.h"
21 
22 #include "geodata_export.h"
23 
24 namespace Marble
25 {
26 
27 class GeoDataStyleMapPrivate;
38 class GEODATA_EXPORT GeoDataStyleMap : public GeoDataStyleSelector,
39  public QMap<QString, QString>
40 {
41  public:
43  virtual const char* nodeType() const;
44 
48  QString lastKey() const;
56  void setLastKey( QString key );
57 
62  GeoDataStyleMap& operator=( const GeoDataStyleMap& other );
63 
64  bool operator==( const GeoDataStyleMap &other ) const;
65  bool operator!=( const GeoDataStyleMap &other ) const;
66 
71  virtual void pack( QDataStream& stream ) const;
76  virtual void unpack( QDataStream& stream );
77 
78  GeoDataStyleMap();
79  GeoDataStyleMap( const GeoDataStyleMap& other );
80  ~GeoDataStyleMap();
81 
82  private:
83  GeoDataStyleMapPrivate * const d;
84 };
85 
86 }
87 
88 #endif
QDataStream
QMap
Marble::GeoDataStyleMap
a class to map different styles to one style
Definition: GeoDataStyleMap.h:38
Marble::operator==
bool operator==(const DownloadPolicyKey &lhs, const DownloadPolicyKey &rhs)
Definition: DownloadPolicy.h:49
GeoDataObject.h
Marble::operator!=
bool operator!=(GeoDataLatLonBox const &lhs, GeoDataLatLonBox const &rhs)
Definition: GeoDataLatLonBox.cpp:59
QString
GeoDataStyleSelector.h
GEODATA_EXPORT
#define GEODATA_EXPORT
Definition: geodata_export.h:22
geodata_export.h
Marble::GeoDataStyleSelector
a base class for the style classes
Definition: GeoDataStyleSelector.h:40
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