marble
#include <OpenCachingComModel.h>

Public Member Functions | |
OpenCachingComModel (const MarbleModel *marbleModel, QObject *parent=0) | |
~OpenCachingComModel () | |
void | fetchData (const QString &url, const QString &type, OpenCachingComItem *item) |
const GeoDataCoordinates | home () const |
![]() | |
AbstractDataPluginModel (const QString &name, const MarbleModel *marbleModel, QObject *parent=0) | |
virtual | ~AbstractDataPluginModel () |
QStringList | favoriteItems () const |
QObject * | favoritesModel () |
AbstractDataPluginItem * | findItem (const QString &id) const |
bool | isFavoriteItemsOnly () const |
bool | itemExists (const QString &id) const |
QList< AbstractDataPluginItem * > | items (const ViewportParams *viewport, qint32 number=10) |
const MarbleModel * | marbleModel () const |
virtual void | setFavoriteItems (const QStringList &list) |
void | setFavoriteItemsOnly (bool favoriteOnly) |
void | setItemSettings (QHash< QString, QVariant > itemSettings) |
QList< AbstractDataPluginItem * > | whichItemAt (const QPoint &curpos) |
Protected Member Functions | |
virtual void | getAdditionalItems (const GeoDataLatLonAltBox &box, qint32 number=numberOfItemsOnScreen) |
void | parseFile (const QByteArray &file) |
![]() | |
void | downloadDescriptionFile (const QUrl &url) |
void | downloadItem (const QUrl &url, const QString &type, AbstractDataPluginItem *item) |
bool | fileExists (const QString &fileName) const |
bool | fileExists (const QString &id, const QString &type) const |
QString | generateFilename (const QString &id, const QString &type) const |
QString | generateFilepath (const QString &id, const QString &type) const |
virtual void | getItem (const QString &id) |
MARBLE_DEPRECATED (void downloadItemData(const QUrl &url, const QString &type, AbstractDataPluginItem *item)) | |
void | registerItemProperties (const QMetaObject &item) |
Additional Inherited Members | |
![]() | |
void | addItemsToList (const QList< AbstractDataPluginItem * > &items) |
void | addItemToList (AbstractDataPluginItem *item) |
void | clear () |
![]() | |
void | favoriteItemsChanged (const QStringList &favoriteItems) |
void | favoriteItemsOnlyChanged () |
void | itemsUpdated () |
![]() | |
QObject | favoritesModel |
Detailed Description
Definition at line 34 of file OpenCachingComModel.h.
Constructor & Destructor Documentation
|
explicit |
Definition at line 27 of file OpenCachingComModel.cpp.
Marble::OpenCachingComModel::~OpenCachingComModel | ( | ) |
Definition at line 55 of file OpenCachingComModel.cpp.
Member Function Documentation
void Marble::OpenCachingComModel::fetchData | ( | const QString & | url, |
const QString & | type, | ||
OpenCachingComItem * | item | ||
) |
Fetch a file for a cache.
Definition at line 115 of file OpenCachingComModel.cpp.
|
protectedvirtual |
Generates the download url for the description file from the web service depending on the box
surrounding the view and the number
of files to show.
Implements Marble::AbstractDataPluginModel.
Definition at line 59 of file OpenCachingComModel.cpp.
const GeoDataCoordinates Marble::OpenCachingComModel::home | ( | ) | const |
home location
Definition at line 120 of file OpenCachingComModel.cpp.
|
protectedvirtual |
Parses the file
which getAdditionalItems downloads and prepares the data for usage.
Reimplemented from Marble::AbstractDataPluginModel.
Definition at line 94 of file OpenCachingComModel.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:38:56 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.