marble
OpenCachingModel.cpp
Go to the documentation of this file.
142 void OpenCachingModel::getAdditionalItems( const GeoDataLatLonAltBox& box, const MarbleModel *model, qint32 number )
bool atEnd() const
QString toString(Qt::DateFormat format) const
Stores the description of a cache in a single language.
Definition: OpenCachingCacheDescription.h:25
OpenCachingModel(const PluginManager *pluginManager, QObject *parent=0)
Definition: OpenCachingModel.cpp:96
Contains all information about a cache, including logs and descriptions in all available languages...
Definition: OpenCachingCache.h:27
This file contains the headers for MarbleModel.
QString toString() const
An abstract data model (not based on QAbstractModel) for a AbstractDataPlugin.
Definition: AbstractDataPluginModel.h:45
QStringRef value(const QString &namespaceUri, const QString &name) const
qreal latitude(GeoDataCoordinates::Unit unit=GeoDataCoordinates::Radian) const
retrieves the latitude of the GeoDataCoordinates object use the unit parameter to switch between Radi...
Definition: GeoDataCoordinates.cpp:751
virtual void getAdditionalItems(const GeoDataLatLonAltBox &box, const MarbleModel *model, qint32 number=10)
Generates the download url for the description file from the web service depending on the box surroun...
Definition: OpenCachingModel.cpp:142
void downloadDescriptionFile(const QUrl &url)
Download the description file from the url.
Definition: AbstractDataPluginModel.cpp:392
void setMinDifficulty(double minDifficulty)
Definition: OpenCachingModel.cpp:122
QString number(int n, int base)
const QString & language() const
Definition: OpenCachingCacheDescription.cpp:41
QString readElementText(ReadElementTextBehaviour behaviour)
void setMaxDistance(int maxDistance)
Definition: OpenCachingModel.cpp:117
iterator begin()
void setNumResults(int numResults)
Definition: OpenCachingModel.cpp:112
void setStartDate(const QDateTime &startDate)
Definition: OpenCachingModel.cpp:132
TokenType readNext()
void setEndDate(const QDateTime &endDate)
Definition: OpenCachingModel.cpp:137
Single log entry for a cache.
Definition: OpenCachingCacheLogEntry.h:25
qreal longitude(GeoDataCoordinates::Unit unit=GeoDataCoordinates::Radian) const
retrieves the longitude of the GeoDataCoordinates object use the unit parameter to switch between Rad...
Definition: GeoDataCoordinates.cpp:739
virtual GeoDataCoordinates center() const
returns the center of this box
Definition: GeoDataLatLonAltBox.cpp:151
The data model (not based on QAbstractModel) for a MarbleWidget.
Definition: MarbleModel.h:97
bool isStartElement() const
int cacheId() const
Definition: OpenCachingCacheLogEntry.cpp:32
bool hasError() const
void setMaxDifficulty(double maxDifficulty)
Definition: OpenCachingModel.cpp:127
QXmlStreamAttributes attributes() const
void addItemToList(AbstractDataPluginItem *item)
Convenience method to add one item to the list.
Definition: AbstractDataPluginModel.cpp:403
iterator end()
void parseFile(const QByteArray &file)
Parses the file which getAdditionalItems downloads and prepares the data for usage.
Definition: OpenCachingModel.cpp:161
QStringRef name() const
unsigned long long cacheId() const
Definition: OpenCachingCacheDescription.cpp:31
A class that defines a 3D bounding box for geographic data.
Definition: GeoDataLatLonAltBox.h:49
bool isEndElement() const
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:41 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:41 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.