marble
#include <GeoDataData.h>

Public Member Functions | |
GeoDataData () | |
GeoDataData (const QString &name, const QVariant &value) | |
GeoDataData (const GeoDataData &other) | |
virtual | ~GeoDataData () |
QString | displayName () const |
QString | name () const |
virtual const char * | nodeType () const |
GeoDataData & | operator= (const GeoDataData &other) |
virtual void | pack (QDataStream &stream) const |
void | setDisplayName (const QString &displayName) |
void | setName (const QString &name) |
void | setValue (const QVariant &value) |
virtual void | unpack (QDataStream &stream) |
QVariant | value () 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
Definition at line 26 of file GeoDataData.h.
Constructor & Destructor Documentation
Marble::GeoDataData::GeoDataData | ( | ) |
Definition at line 21 of file GeoDataData.cpp.
Marble::GeoDataData::GeoDataData | ( | const QString & | name, |
const QVariant & | value | ||
) |
Convenience constructor that sets name and value directly.
Definition at line 43 of file GeoDataData.cpp.
Marble::GeoDataData::GeoDataData | ( | const GeoDataData & | other | ) |
Definition at line 26 of file GeoDataData.cpp.
|
virtual |
Definition at line 31 of file GeoDataData.cpp.
Member Function Documentation
QString Marble::GeoDataData::displayName | ( | ) | const |
return the displayName of data
Definition at line 75 of file GeoDataData.cpp.
QString Marble::GeoDataData::name | ( | ) | const |
return the name of data
Definition at line 65 of file GeoDataData.cpp.
|
virtual |
Provides type information for downcasting a GeoData.
Implements Marble::GeoDataObject.
Definition at line 50 of file GeoDataData.cpp.
GeoDataData & Marble::GeoDataData::operator= | ( | const GeoDataData & | other | ) |
assignment operator
Definition at line 36 of file GeoDataData.cpp.
|
virtual |
Serialize the contents of the feature to stream
.
Reimplemented from Marble::GeoDataObject.
Definition at line 85 of file GeoDataData.cpp.
void Marble::GeoDataData::setDisplayName | ( | const QString & | displayName | ) |
set the displayName of data
- Parameters
-
value the displayName to be set
Definition at line 80 of file GeoDataData.cpp.
void Marble::GeoDataData::setName | ( | const QString & | name | ) |
set the name of data
- Parameters
-
name the name to be set
Definition at line 70 of file GeoDataData.cpp.
void Marble::GeoDataData::setValue | ( | const QVariant & | value | ) |
set the value of data
- Parameters
-
value the value to be set
Definition at line 60 of file GeoDataData.cpp.
|
virtual |
Unserialize the contents of the feature from stream
.
Reimplemented from Marble::GeoDataObject.
Definition at line 93 of file GeoDataData.cpp.
QVariant Marble::GeoDataData::value | ( | ) | const |
return the value of data
Definition at line 55 of file GeoDataData.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:55 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.