Marble
AbstractDataPluginModel.h
47 explicit AbstractDataPluginModel(const QString &name, const MarbleModel *marbleModel, QObject *parent = nullptr);
QObject * favoritesModel
Definition AbstractDataPluginModel.h:44
virtual void getItem(const QString &id)
Retrieve data for a specific item.
Definition AbstractDataPluginModel.cpp:439
QList< AbstractDataPluginItem * > whichItemAt(const QPoint &curpos)
Get all items that contain the given point Returns a list of all items that contain the point curpos.
Definition AbstractDataPluginModel.cpp:343
void setItemSettings(const QHash< QString, QVariant > &itemSettings)
Sets the settings for all items.
Definition AbstractDataPluginModel.cpp:536
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:268
bool itemExists(const QString &id) const
Testing the existence of the item id in the list.
Definition AbstractDataPluginModel.cpp:531
void downloadItem(const QUrl &url, const QString &type, AbstractDataPluginItem *item)
Downloads the file from url.
Definition AbstractDataPluginModel.cpp:362
void addItemsToList(const QList< AbstractDataPluginItem * > &items)
Adds the items to the list of initialized items.
Definition AbstractDataPluginModel.cpp:390
virtual void parseFile(const QByteArray &file)
Parse the file and generate items.
Definition AbstractDataPluginModel.cpp:357
void addItemToList(AbstractDataPluginItem *item)
Convenience method to add one item to the list.
Definition AbstractDataPluginModel.cpp:385
void downloadDescriptionFile(const QUrl &url)
Download the description file from the url.
Definition AbstractDataPluginModel.cpp:374
virtual void getAdditionalItems(const GeoDataLatLonAltBox &box, qint32 number=10)=0
Managing to get number additional items in box.
AbstractDataPluginItem * findItem(const QString &id) const
Finds the item with id in the list.
Definition AbstractDataPluginModel.cpp:520
A class that defines a 3D bounding box for geographic data.
Definition GeoDataLatLonAltBox.h:40
The data model (not based on QAbstractModel) for a MarbleWidget.
Definition MarbleModel.h:84
A public class that controls what is visible in the viewport of a Marble map.
Definition ViewportParams.h:41
Binds a QML item to a specific geodetic location in screen coordinates.
Definition AbstractDataPlugin.cpp:23
QObject(QObject *parent)
Q_OBJECTQ_OBJECT
Q_PROPERTY(...)
Q_SIGNALSQ_SIGNALS
Q_SLOTSQ_SLOTS
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:52:08 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:52:08 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.