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

marble

  • Marble
  • GeoDataStyleMap
Public Member Functions | List of all members
Marble::GeoDataStyleMap Class Reference

#include <GeoDataStyleMap.h>

Inheritance diagram for Marble::GeoDataStyleMap:
Inheritance graph
[legend]

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)
 
- Public Member Functions inherited from Marble::GeoDataStyleSelector
 GeoDataStyleSelector ()
 
 GeoDataStyleSelector (const GeoDataStyleSelector &other)
 
 ~GeoDataStyleSelector ()
 
GeoDataStyleSelector & operator= (const GeoDataStyleSelector &other)
 
void setStyleId (const QString &value)
 
QString styleId () const
 
- Public Member Functions inherited from Marble::GeoDataObject
 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
 
- Public Member Functions inherited from Marble::GeoNode
 GeoNode ()
 
virtual ~GeoNode ()
 
- Public Member Functions inherited from Marble::Serializable
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.

const char * Marble::GeoDataStyleMap::nodeType ( ) const
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
otherthe styleMap which gets duplicated.

Definition at line 63 of file GeoDataStyleMap.cpp.

void Marble::GeoDataStyleMap::pack ( QDataStream &  stream) const
virtual

Serialize the stylemap to a stream.

Parameters
streamthe 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
keythe last key

Definition at line 58 of file GeoDataStyleMap.cpp.

void Marble::GeoDataStyleMap::unpack ( QDataStream &  stream)
virtual

Unserialize the stylemap from a stream.

Parameters
streamthe stream

Reimplemented from Marble::GeoDataStyleSelector.

Definition at line 78 of file GeoDataStyleMap.cpp.


The documentation for this class was generated from the following files:
  • GeoDataStyleMap.h
  • GeoDataStyleMap.cpp
This file is part of the KDE documentation.
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.

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