Marble
GeoDataFeature.cpp
64 // TODO: some classes pass "other" on and thus get duplicated id, also in operator=. Align behaviour
108 const GeoDataNetworkLinkControl &thisNLC = static_cast<const GeoDataNetworkLinkControl &>(*this);
109 const GeoDataNetworkLinkControl &otherNLC = static_cast<const GeoDataNetworkLinkControl &>(other);
164 if ((!d->m_featureExtendedData && other_d->m_featureExtendedData && other_d->m_featureExtendedData->m_abstractView) ||
165 (d->m_featureExtendedData && d->m_featureExtendedData->m_abstractView && !other_d->m_featureExtendedData)) {
A container for Features, Styles and in the future Schemas.
Definition GeoDataDocument.h:50
a class which allows to add custom data to KML Feature.
Definition GeoDataExtendedData.h:31
void setStyle(const QSharedPointer< GeoDataStyle > &style)
Sets the style of the placemark.
Definition GeoDataFeature.cpp:430
void unpack(QDataStream &stream) override
Unserialize the contents of the feature from stream.
Definition GeoDataFeature.cpp:533
QString description() const
Return the text description of the feature.
Definition GeoDataFeature.cpp:247
void setTimeSpan(const GeoDataTimeSpan &timeSpan)
Set the timespan of the feature.
Definition GeoDataFeature.cpp:383
bool descriptionIsCDATA() const
test if the description is CDATA or not CDATA allows for special characters to be included in XML and...
Definition GeoDataFeature.cpp:267
void setStyleUrl(const QString &value)
Set the styleUrl of this feature to value.
Definition GeoDataFeature.cpp:319
const GeoDataTimeSpan & timeSpan() const
Return the timespan of the feature.
Definition GeoDataFeature.cpp:371
bool isGloballyVisible() const
Return whether this feature is visible or not in the context of its parenting.
Definition GeoDataFeature.cpp:360
void setStyleMap(const GeoDataStyleMap *map)
Sets the styleMap of the feature.
Definition GeoDataFeature.cpp:486
void setExtendedData(const GeoDataExtendedData &extendedData)
Sets the ExtendedData of the feature.
Definition GeoDataFeature.cpp:444
void setRegion(const GeoDataRegion ®ion)
Sets the region of the placemark.
Definition GeoDataFeature.cpp:462
void setPhoneNumber(const QString &value)
Set the phone number of this feature to value.
Definition GeoDataFeature.cpp:237
const GeoDataRegion & region() const
Return the region assigned to the placemark.
Definition GeoDataFeature.cpp:450
void setPopularity(qint64 popularity)
Sets the popularity of the feature.
Definition GeoDataFeature.cpp:510
void setDescriptionCDATA(bool cdata)
Set the description to be CDATA See:
Definition GeoDataFeature.cpp:277
const GeoDataAbstractView * abstractView() const
Get the Abstract view of the feature.
Definition GeoDataFeature.cpp:283
void setZoomLevel(int index)
Sets the popularity index of the placemark.
Definition GeoDataFeature.cpp:498
QSharedPointer< const GeoDataStyle > customStyle() const
Return the style assigned to the placemark with setStyle (can be 0)
Definition GeoDataFeature.cpp:424
void setAddress(const QString &value)
Set the address of this feature to value.
Definition GeoDataFeature.cpp:217
const GeoDataTimeStamp & timeStamp() const
Return the timestamp of the feature.
Definition GeoDataFeature.cpp:389
QSharedPointer< const GeoDataStyle > style() const
Return the style assigned to the placemark, or a default style if none has been set.
Definition GeoDataFeature.cpp:413
GeoDataExtendedData & extendedData()
Return the ExtendedData assigned to the feature.
Definition GeoDataFeature.cpp:438
void pack(QDataStream &stream) const override
Serialize the contents of the feature to stream.
Definition GeoDataFeature.cpp:516
void setAbstractView(GeoDataAbstractView *abstractView)
Set the abstract view of the feature.
Definition GeoDataFeature.cpp:303
const GeoDataStyleMap * styleMap() const
Return a pointer to a GeoDataStyleMap object which represents the styleMap of this feature.
Definition GeoDataFeature.cpp:480
bool isVisible() const
Return whether this feature is visible or not.
Definition GeoDataFeature.cpp:348
void setTimeStamp(const GeoDataTimeStamp &timeStamp)
Set the timestamp of the feature.
Definition GeoDataFeature.cpp:401
void setDescription(const QString &value)
Set the description of this feature to value.
Definition GeoDataFeature.cpp:257
void setSnippet(const GeoDataSnippet &value)
Set a new name for this feature.
Definition GeoDataFeature.cpp:201
virtual bool equals(const GeoDataObject &other) const
Compares the value of id and targetId of the two objects.
Definition GeoDataObject.cpp:126
void pack(QDataStream &stream) const override
Reimplemented from Serializable.
Definition GeoDataObject.cpp:114
const GeoDataObject * parent() const
Provides the parent of the object in GeoDataContainers.
Definition GeoDataObject.cpp:60
void unpack(QDataStream &steam) override
Reimplemented from Serializable.
Definition GeoDataObject.cpp:120
GeoDataRegion describes the visibility and extent of a feature.
Definition GeoDataRegion.h:44
virtual const char * nodeType() const =0
Provides type information for downcasting a GeoNode.
Binds a QML item to a specific geodetic location in screen coordinates.
Definition AbstractDataPlugin.cpp:23
T * geodata_cast(GeoDataObject *node)
Returns the given node cast to type T if the node was instantiated as type T; otherwise returns 0.
Definition GeoDataObject.h:107
T value(const Key &key, const T &defaultValue) const const
bool isEmpty() const const
QString & remove(QChar ch, Qt::CaseSensitivity cs)
Q_D(Todo)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Jul 26 2024 11:57:57 by doxygen 1.11.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Jul 26 2024 11:57:57 by doxygen 1.11.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.