marble
PanoramioModel.cpp
Go to the documentation of this file.
void setUploadDate(QDate uploadDate)
Definition: PanoramioWidget.cpp:55
void setTarget(const QString &target)
Definition: AbstractDataPluginItem.cpp:66
PanoramioModel(const MarbleModel *marbleModel, QObject *parent=0)
Definition: PanoramioModel.cpp:26
bool fileExists(const QString &fileName) const
Testing the existence of the file fileName.
Definition: AbstractDataPluginModel.cpp:542
bool itemExists(const QString &id) const
Testing the existence of the item id in the list.
Definition: AbstractDataPluginModel.cpp:563
void setId(const QString &id)
Definition: AbstractDataPluginItem.cpp:86
An abstract data model (not based on QAbstractModel) for a AbstractDataPlugin.
Definition: AbstractDataPluginModel.h:45
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)
void addDownloadedFile(const QString &url, const QString &type)
Definition: PanoramioWidget.cpp:32
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: PanoramioModel.cpp:31
iterator end()
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
Definition: PanoramioWidget.h:24
qreal south(GeoDataCoordinates::Unit unit=GeoDataCoordinates::Radian) const
Get the southern boundary of the bounding box.
Definition: GeoDataLatLonBox.cpp:114
Definition: panoramio/jsonparser.h:46
QString generateFilepath(const QString &id, const QString &type) const
Generates the absolute filepath of the from id and type.
Definition: AbstractDataPluginModel.cpp:537
void addItemToList(AbstractDataPluginItem *item)
Convenience method to add one item to the list.
Definition: AbstractDataPluginModel.cpp:403
QList< panoramioDataStructure > parseAllObjects(const QString &content, int number)
Definition: panoramio/jsonparser.cpp:88
void setCoordinate(const GeoDataCoordinates &coordinates)
Definition: BillboardGraphicsItem.cpp:98
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 parseFile(const QByteArray &file)
The reimplementation has to parse the file and should generate widgets.
Definition: PanoramioModel.cpp:50
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.