marble
#include <GeoDataStyleSelector.h>

Public Member Functions | |
GeoDataStyleSelector () | |
GeoDataStyleSelector (const GeoDataStyleSelector &other) | |
~GeoDataStyleSelector () | |
virtual const char * | nodeType () const |
GeoDataStyleSelector & | operator= (const GeoDataStyleSelector &other) |
virtual void | pack (QDataStream &stream) const |
void | setStyleId (const QString &value) |
QString | styleId () const |
virtual void | unpack (QDataStream &stream) |
![]() | |
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 base class for the style classes
A GeoDataStyleSelector is a base class for the style classes Style and StyleMap classes. The StyleMap class selects a style based on the current mode of a Placemark (highlighted or normal). An element derived from StyleSelector is uniquely identified by its id and its url.
Definition at line 40 of file GeoDataStyleSelector.h.
Constructor & Destructor Documentation
Marble::GeoDataStyleSelector::GeoDataStyleSelector | ( | ) |
Definition at line 33 of file GeoDataStyleSelector.cpp.
Marble::GeoDataStyleSelector::GeoDataStyleSelector | ( | const GeoDataStyleSelector & | other | ) |
Definition at line 38 of file GeoDataStyleSelector.cpp.
Marble::GeoDataStyleSelector::~GeoDataStyleSelector | ( | ) |
Definition at line 43 of file GeoDataStyleSelector.cpp.
Member Function Documentation
|
virtual |
Provides type information for downcasting a GeoNode.
Implements Marble::GeoDataObject.
Reimplemented in Marble::GeoDataStyle, and Marble::GeoDataStyleMap.
Definition at line 55 of file GeoDataStyleSelector.cpp.
GeoDataStyleSelector & Marble::GeoDataStyleSelector::operator= | ( | const GeoDataStyleSelector & | other | ) |
assignment operator
Definition at line 48 of file GeoDataStyleSelector.cpp.
|
virtual |
Serialize the styleselector to a stream.
- Parameters
-
stream the stream
Reimplemented from Marble::GeoDataObject.
Reimplemented in Marble::GeoDataStyle, and Marble::GeoDataStyleMap.
Definition at line 70 of file GeoDataStyleSelector.cpp.
void Marble::GeoDataStyleSelector::setStyleId | ( | const QString & | value | ) |
Set a new style id.
- Parameters
-
value the new id
Definition at line 60 of file GeoDataStyleSelector.cpp.
QString Marble::GeoDataStyleSelector::styleId | ( | ) | const |
|
virtual |
Unserialize the styleselector from a stream.
- Parameters
-
stream the stream
Reimplemented from Marble::GeoDataObject.
Reimplemented in Marble::GeoDataStyle, and Marble::GeoDataStyleMap.
Definition at line 77 of file GeoDataStyleSelector.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.