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

marble

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

#include <GeoDataData.h>

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

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
 
bool operator!= (const GeoDataData &other) const
 
GeoDataData & operator= (const GeoDataData &other)
 
bool operator== (const GeoDataData &other) const
 
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
 
- Public Member Functions inherited from Marble::GeoDataObject
 GeoDataObject ()
 
 GeoDataObject (const GeoDataObject &)
 
virtual ~GeoDataObject ()
 
QString id () const
 
GeoDataObject & operator= (const GeoDataObject &)
 
virtual GeoDataObject * parent () const
 
QString resolvePath (const QString &relativePath) const
 
void setId (const QString &value)
 
virtual void setParent (GeoDataObject *parent)
 
void setTargetId (const QString &value)
 
QString targetId () const
 
- Public Member Functions inherited from Marble::GeoNode
 GeoNode ()
 
virtual ~GeoNode ()
 
- Public Member Functions inherited from Marble::Serializable
virtual ~Serializable ()
 

Additional Inherited Members

- Protected Member Functions inherited from Marble::GeoDataObject
virtual bool equals (const GeoDataObject &other) const
 

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 56 of file GeoDataData.cpp.

Marble::GeoDataData::GeoDataData ( const GeoDataData &  other)

Definition at line 26 of file GeoDataData.cpp.

Marble::GeoDataData::~GeoDataData ( )
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 88 of file GeoDataData.cpp.

QString Marble::GeoDataData::name ( ) const

return the name of data

Definition at line 78 of file GeoDataData.cpp.

const char * Marble::GeoDataData::nodeType ( ) const
virtual

Provides type information for downcasting a GeoData.

Implements Marble::GeoDataObject.

Definition at line 63 of file GeoDataData.cpp.

bool Marble::GeoDataData::operator!= ( const GeoDataData &  other) const

Definition at line 51 of file GeoDataData.cpp.

GeoDataData & Marble::GeoDataData::operator= ( const GeoDataData &  other)

assignment operator

Definition at line 36 of file GeoDataData.cpp.

bool Marble::GeoDataData::operator== ( const GeoDataData &  other) const

Definition at line 43 of file GeoDataData.cpp.

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

Serialize the contents of the feature to stream.

Reimplemented from Marble::GeoDataObject.

Definition at line 98 of file GeoDataData.cpp.

void Marble::GeoDataData::setDisplayName ( const QString &  displayName)

set the displayName of data

Parameters
valuethe displayName to be set

Definition at line 93 of file GeoDataData.cpp.

void Marble::GeoDataData::setName ( const QString &  name)

set the name of data

Parameters
namethe name to be set

Definition at line 83 of file GeoDataData.cpp.

void Marble::GeoDataData::setValue ( const QVariant &  value)

set the value of data

Parameters
valuethe value to be set

Definition at line 73 of file GeoDataData.cpp.

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

Unserialize the contents of the feature from stream.

Reimplemented from Marble::GeoDataObject.

Definition at line 106 of file GeoDataData.cpp.

QVariant Marble::GeoDataData::value ( ) const

return the value of data

Definition at line 68 of file GeoDataData.cpp.


The documentation for this class was generated from the following files:
  • GeoDataData.h
  • GeoDataData.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:44 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
  • 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