Marble
6 #include "GeoDataData.h"
7 #include "GeoDataData_p.h"
11 #include "GeoDataTypes.h"
12 #include "osm/OsmPlacemarkData.h"
17 GeoDataData::GeoDataData()
18 : GeoDataObject(), d( new GeoDataDataPrivate )
22 GeoDataData::GeoDataData(
const GeoDataData& other )
23 : GeoDataObject( other ), d( new GeoDataDataPrivate( *other.d ) )
27 GeoDataData::~GeoDataData()
32 GeoDataData& GeoDataData::operator=(
const GeoDataData& other )
34 GeoDataObject::operator=( other );
39 bool GeoDataData::operator==(
const GeoDataData& other)
const
41 return equals(other) &&
42 d->m_name == other.d->m_name &&
43 d->m_value == other.d->m_value &&
44 d->m_displayName == other.d->m_displayName;
47 bool GeoDataData::operator!=(
const GeoDataData &other )
const
53 : d( new GeoDataDataPrivate )
59 const char* GeoDataData::nodeType()
const
61 return GeoDataTypes::GeoDataDataType;
74 const QVariant& GeoDataData::valueRef()
const
79 void GeoDataData::setValue(
const QVariant& value )
84 QString GeoDataData::name()
const
89 void GeoDataData::setName(
const QString& name )
94 QString GeoDataData::displayName()
const
96 return d->m_displayName;
99 void GeoDataData::setDisplayName(
const QString& displayName )
104 void GeoDataData::pack(
QDataStream& stream )
const
108 stream << d->m_value;
109 stream << d->m_displayName;
116 stream >> d->m_value;
117 stream >> d->m_displayName;
bool operator==(const Qt3DRender::QGraphicsApiFilter &reference, const Qt3DRender::QGraphicsApiFilter &sample)
void pack(QDataStream &stream) const override
Reimplemented from Serializable.
Binds a QML item to a specific geodetic location in screen coordinates.
AKONADI_CALENDAR_EXPORT QString displayName(Akonadi::ETMCalendar *calendar, const Akonadi::Collection &collection)
QString name(StandardShortcut id)
void unpack(QDataStream &steam) override
Reimplemented from Serializable.
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Oct 2 2023 03:52:08 by
doxygen 1.8.17 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.