GeoDataFeature.cpp
41 const QSharedPointer<const GeoDataStyle> GeoDataFeaturePrivate::s_defaultStyle(new GeoDataStyle);
71 // TODO: some classes pass "other" on and thus get duplicated id, also in operator=. Align behaviour
115 const GeoDataNetworkLinkControl &thisNLC = static_cast<const GeoDataNetworkLinkControl &>(*this);
116 const GeoDataNetworkLinkControl &otherNLC = static_cast<const GeoDataNetworkLinkControl &>(other);
171 if ((!d->m_featureExtendedData && other_d->m_featureExtendedData && other_d->m_featureExtendedData->m_abstractView) ||
172 (d->m_featureExtendedData && d->m_featureExtendedData->m_abstractView && !other_d->m_featureExtendedData)) {
void unpack(QDataStream &steam) override
Reimplemented from Serializable.
Definition: GeoDataObject.cpp:125
A container for Features, Styles and in the future Schemas.
Definition: GeoDataDocument.h:63
QSharedPointer< const GeoDataStyle > customStyle() const
Return the style assigned to the placemark with setStyle (can be 0)
Definition: GeoDataFeature.cpp:430
Binds a QML item to a specific geodetic location in screen coordinates.
Definition: AbstractDataPlugin.cpp:27
void setDescription(const QString &value)
Set the description of this feature to value.
Definition: GeoDataFeature.cpp:264
void setExtendedData(const GeoDataExtendedData &extendedData)
Sets the ExtendedData of the feature.
Definition: GeoDataFeature.cpp:450
virtual bool equals(const GeoDataObject &other) const
Compares the value of id and targetId of the two objects.
Definition: GeoDataObject.cpp:131
bool isVisible() const
Return whether this feature is visible or not.
Definition: GeoDataFeature.cpp:355
A base class that can hold GeoDataFeatures.
Definition: GeoDataContainer.h:47
QString description() const
Return the text description of the feature.
Definition: GeoDataFeature.cpp:254
QSharedPointer< const GeoDataStyle > style() const
Return the style assigned to the placemark, or a default style if none has been set.
Definition: GeoDataFeature.cpp:420
int zoomLevel() const
Return the popularity index of the placemark.
Definition: GeoDataFeature.cpp:498
void setSnippet(const GeoDataSnippet &value)
Set a new name for this feature.
Definition: GeoDataFeature.cpp:208
a class to map different styles to one style
Definition: GeoDataStyleMap.h:37
void setPhoneNumber(const QString &value)
Set the phone number of this feature to value.
Definition: GeoDataFeature.cpp:244
QString & remove(int position, int n)
a class which allows to add custom data to KML Feature.
Definition: GeoDataExtendedData.h:35
const GeoDataAbstractView * abstractView() const
Get the Abstract view of the feature.
Definition: GeoDataFeature.cpp:290
const GeoDataStyleMap * styleMap() const
Return a pointer to a GeoDataStyleMap object which represents the styleMap of this feature...
Definition: GeoDataFeature.cpp:486
void pack(QDataStream &stream) const override
Reimplemented from Serializable.
Definition: GeoDataObject.cpp:119
void setPopularity(qint64 popularity)
Sets the popularity of the feature.
Definition: GeoDataFeature.cpp:516
void setTimeStamp(const GeoDataTimeStamp &timeStamp)
Set the timestamp of the feature.
Definition: GeoDataFeature.cpp:408
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:274
void setName(const QString &value)
Set a new name for this feature.
Definition: GeoDataFeature.cpp:196
const GeoDataTimeSpan & timeSpan() const
Return the timespan of the feature.
Definition: GeoDataFeature.cpp:378
virtual const char * nodeType() const =0
Provides type information for downcasting a GeoNode.
bool isEmpty() const
void unpack(QDataStream &stream) override
Unserialize the contents of the feature from stream.
Definition: GeoDataFeature.cpp:539
const GeoDataRegion & region() const
Return the region assigned to the placemark.
Definition: GeoDataFeature.cpp:456
QString phoneNumber() const
Return the phone number of the feature.
Definition: GeoDataFeature.cpp:234
GeoDataExtendedData & extendedData()
Return the ExtendedData assigned to the feature.
Definition: GeoDataFeature.cpp:444
A container that is used to arrange other GeoDataFeatures.
Definition: GeoDataFolder.h:49
bool isGloballyVisible() const
Return whether this feature is visible or not in the context of its parenting.
Definition: GeoDataFeature.cpp:367
const GeoDataObject * parent() const
Provides the parent of the object in GeoDataContainers.
Definition: GeoDataObject.cpp:65
void setStyleUrl(const QString &value)
Set the styleUrl of this feature to value.
Definition: GeoDataFeature.cpp:326
void setAddress(const QString &value)
Set the address of this feature to value.
Definition: GeoDataFeature.cpp:224
GeoDataSnippet snippet() const
A short description of the feature.
Definition: GeoDataFeature.cpp:202
void setTimeSpan(const GeoDataTimeSpan &timeSpan)
Set the timespan of the feature.
Definition: GeoDataFeature.cpp:390
void setStyle(const QSharedPointer< GeoDataStyle > &style)
Sets the style of the placemark.
Definition: GeoDataFeature.cpp:436
void pack(QDataStream &stream) const override
Serialize the contents of the feature to stream.
Definition: GeoDataFeature.cpp:522
void setStyleMap(const GeoDataStyleMap *map)
Sets the styleMap of the feature.
Definition: GeoDataFeature.cpp:492
void setDescriptionCDATA(bool cdata)
Set the description to be CDATA See:
Definition: GeoDataFeature.cpp:284
void setRegion(const GeoDataRegion ®ion)
Sets the region of the placemark.
Definition: GeoDataFeature.cpp:468
GeoDataRegion describes the visibility and extent of a feature.
Definition: GeoDataRegion.h:48
void setZoomLevel(int index)
Sets the popularity index of the placemark.
Definition: GeoDataFeature.cpp:504
const GeoDataTimeStamp & timeStamp() const
Return the timestamp of the feature.
Definition: GeoDataFeature.cpp:396
void setAbstractView(GeoDataAbstractView *abstractView)
Set the abstract view of the feature.
Definition: GeoDataFeature.cpp:310
a class representing a point of interest on the map
Definition: GeoDataPlacemark.h:53
const T value(const Key &key, const T &defaultValue) const
This file is part of the KDE documentation.
Documentation copyright © 1996-2019 The KDE developers.
Generated on Thu Dec 12 2019 02:50:55 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2019 The KDE developers.
Generated on Thu Dec 12 2019 02:50:55 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.