marble
PhotoPluginModel.cpp
Go to the documentation of this file.
QList< AbstractDataPluginItem * > items(const ViewportParams *viewport, qint32 number=10)
Get the items on the viewport Returns the currently downloaded images in the viewport.
Definition: AbstractDataPluginModel.cpp:274
iterator insert(const Key &key, const T &value)
const Key key(const T &value) const
const QString flickrApiKey("620131a1b82b000c9582b94effcdc636")
bool itemExists(const QString &id) const
Testing the existence of the item id in the list.
Definition: AbstractDataPluginModel.cpp:563
void parseFile(const QByteArray &file)
The reimplementation has to parse the file and should generate items.
Definition: PhotoPluginModel.cpp:127
This file contains the headers for MarbleModel.
void getAdditionalItems(const GeoDataLatLonAltBox &box, qint32 number=10)
Generates the download url for the description file from the web service depending on the box surroun...
Definition: PhotoPluginModel.cpp:71
An abstract data model (not based on QAbstractModel) for a AbstractDataPlugin.
Definition: AbstractDataPluginModel.h:45
const MarbleModel * marbleModel() const
Definition: AbstractDataPluginModel.cpp:269
Definition: FlickrParser.h:26
A widget class that displays a view of the earth.
Definition: MarbleWidget.h:104
qreal north(GeoDataCoordinates::Unit unit=GeoDataCoordinates::Radian) const
Get the northern boundary of the bounding box.
Definition: GeoDataLatLonBox.cpp:93
void downloadDescriptionFile(const QUrl &url)
Download the description file from the url.
Definition: AbstractDataPluginModel.cpp:392
qreal east(GeoDataCoordinates::Unit unit=GeoDataCoordinates::Radian) const
Get the eastern boundary of the bounding box.
Definition: GeoDataLatLonBox.cpp:135
QString number(int n, int base)
const_iterator constEnd() const
void setMarbleWidget(MarbleWidget *widget)
Definition: PhotoPluginModel.cpp:152
static QUrl generateUrl(const QString &service, const QString &method, const QHash< QString, QString > &options)
Definition: PhotoPluginModel.cpp:42
iterator end()
const T value(const Key &key) const
PhotoPluginModel(const MarbleModel *marbleModel, QObject *parent=0)
Definition: PhotoPluginModel.cpp:36
qreal west(GeoDataCoordinates::Unit unit=GeoDataCoordinates::Radian) const
Get the western boundary of the bounding box.
Definition: GeoDataLatLonBox.cpp:156
The data model (not based on QAbstractModel) for a MarbleWidget.
Definition: MarbleModel.h:97
const_iterator constBegin() const
void setLicenseValues(const QString &licenses)
Definition: PhotoPluginModel.cpp:157
qreal south(GeoDataCoordinates::Unit unit=GeoDataCoordinates::Radian) const
Get the southern boundary of the bounding box.
Definition: GeoDataLatLonBox.cpp:114
This file contains the headers for MarbleWidget.
iterator begin()
void downloadItem(const QUrl &url, const QString &type, AbstractDataPluginItem *item)
Downloads the file from url.
Definition: AbstractDataPluginModel.cpp:378
A class that defines a 3D bounding box for geographic data.
Definition: GeoDataLatLonAltBox.h:49
void addItemsToList(const QList< AbstractDataPluginItem * > &items)
Adds the items to the list of initialized items.
Definition: AbstractDataPluginModel.cpp:408
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.