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

marble

  • kde-4.x
  • 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 <[email protected]>
9 //
10 
11 
12 #ifndef MARBLE_GEODATASTYLEMAP_H
13 #define MARBLE_GEODATASTYLEMAP_H
14 
15 
16 #include <QString>
17 #include <QMap>
18 
19 #include "GeoDataStyleSelector.h"
20 
21 #include "geodata_export.h"
22 
23 namespace Marble
24 {
25 
26 class GeoDataStyleMapPrivate;
37 class GEODATA_EXPORT GeoDataStyleMap : public GeoDataStyleSelector,
38  public QMap<QString, QString>
39 {
40  public:
42  const char* nodeType() const override;
43 
47  QString lastKey() const;
55  void setLastKey( const QString& key );
56 
61  GeoDataStyleMap& operator=( const GeoDataStyleMap& other );
62 
63  bool operator==( const GeoDataStyleMap &other ) const;
64  bool operator!=( const GeoDataStyleMap &other ) const;
65 
70  void pack( QDataStream& stream ) const override;
75  void unpack( QDataStream& stream ) override;
76 
77  GeoDataStyleMap();
78  GeoDataStyleMap( const GeoDataStyleMap& other );
79  ~GeoDataStyleMap() override;
80 
81  private:
82  GeoDataStyleMapPrivate * const d;
83 };
84 
85 }
86 
87 #endif
QDataStream
QMap
Marble::GeoDataStyleMap
a class to map different styles to one style
Definition: GeoDataStyleMap.h:37
Marble::operator==
bool operator==(const DownloadPolicyKey &lhs, const DownloadPolicyKey &rhs)
Definition: DownloadPolicy.h:49
Marble::operator!=
bool operator!=(GeoDataLatLonBox const &lhs, GeoDataLatLonBox const &rhs)
Definition: GeoDataLatLonBox.cpp:56
QString
GeoDataStyleSelector.h
GEODATA_EXPORT
#define GEODATA_EXPORT
Definition: geodata_export.h:18
geodata_export.h
Marble::GeoDataStyleSelector
an abstract base class for the style classes
Definition: GeoDataStyleSelector.h:37
This file is part of the KDE documentation.
Documentation copyright © 1996-2019 The KDE developers.
Generated on Fri Dec 13 2019 01:46:59 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
  •   KmPlot
  • libkeduvocdocument
  •   keduvocdocument
  • marble
  • parley
  • rocs
  •   src
  •   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