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) ||
void setAbstractView(GeoDataAbstractView *abstractView)
Set the abstract view of the feature.
Definition: GeoDataFeature.cpp:303
virtual const char * nodeType() const =0
Provides type information for downcasting a GeoNode.
void setDescriptionCDATA(bool cdata)
Set the description to be CDATA See:
Definition: GeoDataFeature.cpp:277
const T value(const Key &key, const T &defaultValue) const const
void setPhoneNumber(const QString &value)
Set the phone number of this feature to value.
Definition: GeoDataFeature.cpp:237
a class which allows to add custom data to KML Feature.
Definition: GeoDataExtendedData.h:30
void setName(const QString &value)
Set a new name for this feature.
Definition: GeoDataFeature.cpp:189
const GeoDataStyleMap * styleMap() const
Return a pointer to a GeoDataStyleMap object which represents the styleMap of this feature.
Definition: GeoDataFeature.cpp:480
void setDescription(const QString &value)
Set the description of this feature to value.
Definition: GeoDataFeature.cpp:257
const GeoDataTimeStamp & timeStamp() const
Return the timestamp of the feature.
Definition: GeoDataFeature.cpp:389
void setStyleUrl(const QString &value)
Set the styleUrl of this feature to value.
Definition: GeoDataFeature.cpp:319
void setZoomLevel(int index)
Sets the popularity index of the placemark.
Definition: GeoDataFeature.cpp:498
void setTimeSpan(const GeoDataTimeSpan &timeSpan)
Set the timespan of the feature.
Definition: GeoDataFeature.cpp:383
void pack(QDataStream &stream) const override
Serialize the contents of the feature to stream.
Definition: GeoDataFeature.cpp:516
QString description() const
Return the text description of the feature.
Definition: GeoDataFeature.cpp:247
void setStyleMap(const GeoDataStyleMap *map)
Sets the styleMap of the feature.
Definition: GeoDataFeature.cpp:486
bool isEmpty() const const
int zoomLevel() const
Return the popularity index of the placemark.
Definition: GeoDataFeature.cpp:492
bool isVisible() const
Return whether this feature is visible or not.
Definition: GeoDataFeature.cpp:348
QSharedPointer< const GeoDataStyle > customStyle() const
Return the style assigned to the placemark with setStyle (can be 0)
Definition: GeoDataFeature.cpp:424
A container for Features, Styles and in the future Schemas.
Definition: GeoDataDocument.h:48
void unpack(QDataStream &stream) override
Unserialize the contents of the feature from stream.
Definition: GeoDataFeature.cpp:533
void pack(QDataStream &stream) const override
Reimplemented from Serializable.
Definition: GeoDataObject.cpp:114
QString phoneNumber() const
Return the phone number of the feature.
Definition: GeoDataFeature.cpp:227
const GeoDataRegion & region() const
Return the region assigned to the placemark.
Definition: GeoDataFeature.cpp:450
Binds a QML item to a specific geodetic location in screen coordinates.
Definition: AbstractDataPlugin.cpp:22
virtual bool equals(const GeoDataObject &other) const
Compares the value of id and targetId of the two objects.
Definition: GeoDataObject.cpp:126
const GeoDataObject * parent() const
Provides the parent of the object in GeoDataContainers.
Definition: GeoDataObject.cpp:60
void setTimeStamp(const GeoDataTimeStamp &timeStamp)
Set the timestamp of the feature.
Definition: GeoDataFeature.cpp:401
QString & remove(int position, int n)
const GeoDataAbstractView * abstractView() const
Get the Abstract view of the feature.
Definition: GeoDataFeature.cpp:283
GeoDataExtendedData & extendedData()
Return the ExtendedData assigned to the feature.
Definition: GeoDataFeature.cpp:407
A base class that can hold GeoDataFeatures.
Definition: GeoDataContainer.h:42
void setAddress(const QString &value)
Set the address of this feature to value.
Definition: GeoDataFeature.cpp:217
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
GeoDataRegion describes the visibility and extent of a feature.
Definition: GeoDataRegion.h:43
bool isGloballyVisible() const
Return whether this feature is visible or not in the context of its parenting.
Definition: GeoDataFeature.cpp:360
void setRegion(const GeoDataRegion ®ion)
Sets the region of the placemark.
Definition: GeoDataFeature.cpp:462
void setExtendedData(const GeoDataExtendedData &extendedData)
Sets the ExtendedData of the feature.
Definition: GeoDataFeature.cpp:444
void setStyle(const QSharedPointer< GeoDataStyle > &style)
Sets the style of the placemark.
Definition: GeoDataFeature.cpp:430
void unpack(QDataStream &steam) override
Reimplemented from Serializable.
Definition: GeoDataObject.cpp:120
void setPopularity(qint64 popularity)
Sets the popularity of the feature.
Definition: GeoDataFeature.cpp:510
void setSnippet(const GeoDataSnippet &value)
Set a new name for this feature.
Definition: GeoDataFeature.cpp:201
const GeoDataTimeSpan & timeSpan() const
Return the timespan of the feature.
Definition: GeoDataFeature.cpp:371
Q_D(Todo)
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
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Tue Oct 3 2023 04:09:47 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Tue Oct 3 2023 04:09:47 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.