marble
OpenDesktopModel.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
void setLocation(const QString location)
Definition: OpenDesktopItem.cpp:131
OpenDesktopModel(const MarbleModel *marbleModel, QObject *parent=0)
Definition: OpenDesktopModel.cpp:27
void setTarget(const QString &target)
Definition: AbstractDataPluginItem.cpp:66
void setMarbleWidget(MarbleWidget *widget)
Definition: OpenDesktopModel.cpp:38
bool itemExists(const QString &id) const
Testing the existence of the item id in the list.
Definition: AbstractDataPluginModel.cpp:563
This file contains the headers for MarbleModel.
void setId(const QString &id)
Definition: AbstractDataPluginItem.cpp:86
QScriptValue evaluate(const QString &program, const QString &fileName, int lineNumber)
An abstract data model (not based on QAbstractModel) for a AbstractDataPlugin.
Definition: AbstractDataPluginModel.h:45
const MarbleModel * marbleModel() const
Definition: AbstractDataPluginModel.cpp:269
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
Definition: OpenDesktopItem.h:26
A widget class that displays a view of the earth.
Definition: MarbleWidget.h:104
void downloadDescriptionFile(const QUrl &url)
Download the description file from the url.
Definition: AbstractDataPluginModel.cpp:392
QString number(int n, int base)
bool isEmpty() const
void getAdditionalItems(const Marble::GeoDataLatLonAltBox &box, qint32 number=10)
Generates the download url for the description file from the web service depending on the box surroun...
Definition: OpenDesktopModel.cpp:43
void parseFile(const QByteArray &file)
Parses the file which getAdditionalItems downloads and prepares the data for usage.
Definition: OpenDesktopModel.cpp:60
QScriptValue property(const QString &name, const ResolveFlags &mode) const
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
void setMarbleWidget(MarbleWidget *widget)
Definition: OpenDesktopItem.cpp:148
The data model (not based on QAbstractModel) for a MarbleWidget.
Definition: MarbleModel.h:97
void setFullName(const QString fullName)
Definition: OpenDesktopItem.cpp:120
void setCoordinate(const GeoDataCoordinates &coordinates)
Definition: BillboardGraphicsItem.cpp:98
bool isArray() const
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.