marble
#include <GeoDataStyleMap.h>

Public Member Functions | |
GeoDataStyleMap () | |
GeoDataStyleMap (const GeoDataStyleMap &other) | |
~GeoDataStyleMap () | |
QString | lastKey () const |
virtual const char * | nodeType () const |
GeoDataStyleMap & | operator= (const GeoDataStyleMap &other) |
virtual void | pack (QDataStream &stream) const |
void | setLastKey (QString key) |
virtual void | unpack (QDataStream &stream) |
![]() | |
GeoDataStyleSelector () | |
GeoDataStyleSelector (const GeoDataStyleSelector &other) | |
~GeoDataStyleSelector () | |
GeoDataStyleSelector & | operator= (const GeoDataStyleSelector &other) |
void | setStyleId (const QString &value) |
QString | styleId () const |
![]() | |
GeoDataObject () | |
GeoDataObject (const GeoDataObject &) | |
virtual | ~GeoDataObject () |
int | id () const |
GeoDataObject & | operator= (const GeoDataObject &) |
virtual GeoDataObject * | parent () const |
QString | resolvePath (const QString &relativePath) const |
void | setId (int value) |
virtual void | setParent (GeoDataObject *parent) |
void | setTargetId (int value) |
int | targetId () const |
![]() | |
GeoNode () | |
virtual | ~GeoNode () |
![]() | |
virtual | ~Serializable () |
Detailed Description
a class to map different styles to one style
A GeoDataStyleMap connects styles for highlighted and normal context. Besides GeoDataStyleSelector it derives from QMap<QString, QString>.
GeoDataStyle GeoDataStyleSelector
Definition at line 38 of file GeoDataStyleMap.h.
Constructor & Destructor Documentation
Marble::GeoDataStyleMap::GeoDataStyleMap | ( | ) |
Definition at line 32 of file GeoDataStyleMap.cpp.
Marble::GeoDataStyleMap::GeoDataStyleMap | ( | const GeoDataStyleMap & | other | ) |
Definition at line 37 of file GeoDataStyleMap.cpp.
Marble::GeoDataStyleMap::~GeoDataStyleMap | ( | ) |
Definition at line 43 of file GeoDataStyleMap.cpp.
Member Function Documentation
QString Marble::GeoDataStyleMap::lastKey | ( | ) | const |
return the last key
Definition at line 53 of file GeoDataStyleMap.cpp.
|
virtual |
Provides type information for downcasting a GeoNode.
Reimplemented from Marble::GeoDataStyleSelector.
Definition at line 48 of file GeoDataStyleMap.cpp.
GeoDataStyleMap & Marble::GeoDataStyleMap::operator= | ( | const GeoDataStyleMap & | other | ) |
assignment operator
- Parameters
-
other the styleMap which gets duplicated.
Definition at line 63 of file GeoDataStyleMap.cpp.
|
virtual |
Serialize the stylemap to a stream.
- Parameters
-
stream the stream
Reimplemented from Marble::GeoDataStyleSelector.
Definition at line 71 of file GeoDataStyleMap.cpp.
void Marble::GeoDataStyleMap::setLastKey | ( | QString | key | ) |
Set the last key this property is needed to set an entry in the kml parser after the parser has set the last key, it will read the value and add both to this map.
- Parameters
-
key the last key
Definition at line 58 of file GeoDataStyleMap.cpp.
|
virtual |
Unserialize the stylemap from a stream.
- Parameters
-
stream the stream
Reimplemented from Marble::GeoDataStyleSelector.
Definition at line 78 of file GeoDataStyleMap.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:38:56 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.