marble
WeatherModel.cpp
Go to the documentation of this file.
void setInterval(int msec)
Definition: BBCWeatherService.h:26
void downloadItemData(const QUrl &url, const QString &type, AbstractDataPluginItem *item)
Downloads the file from url.
Definition: WeatherModel.cpp:68
virtual void setFavoriteItems(const QStringList &list)
Definition: AbstractDataPluginModel.cpp:466
void setMarbleWidget(MarbleWidget *widget)
Definition: WeatherModel.cpp:116
This file contains the headers for MarbleModel.
An abstract data model (not based on QAbstractModel) for a AbstractDataPlugin.
Definition: AbstractDataPluginModel.h:45
void setMarbleWidget(MarbleWidget *widget)
Definition: AbstractWeatherService.cpp:29
A widget class that displays a view of the earth.
Definition: MarbleWidget.h:104
WeatherModel(const MarbleModel *marbleModel, QObject *parent)
Definition: WeatherModel.cpp:29
virtual void getItem(const QString &id)
Retrieve data for a specific item.
Definition: WeatherModel.cpp:99
void downloadDescriptionFile(const QUrl &url)
Download the description file from the url.
Definition: AbstractDataPluginModel.cpp:392
virtual bool request(const QString &type)
Test if the item wants to request type again.
Definition: WeatherItem.cpp:354
virtual void setFavoriteItems(const QStringList &favorite)
Definition: AbstractWeatherService.cpp:44
void parseFile(const QByteArray &file)
Parse the file and generate items.
Definition: WeatherModel.cpp:106
void deleteLater()
AbstractDataPluginItem * findItem(const QString &id) const
Finds the item with id in the list.
Definition: AbstractDataPluginModel.cpp:552
void getAdditionalItems(const GeoDataLatLonAltBox &box, qint32 number=10)
Managing to get number additional items in box.
Definition: WeatherModel.cpp:93
void setUpdateInterval(quint32 hours)
Definition: WeatherModel.cpp:62
void downloadDescriptionFileRequested(const QUrl &url)
Definition: WeatherModel.cpp:111
void registerItemProperties(const QMetaObject &item)
Definition: AbstractDataPluginModel.cpp:675
The data model (not based on QAbstractModel) for a MarbleWidget.
Definition: MarbleModel.h:97
void setFavoriteItems(const QStringList &list)
Definition: WeatherModel.cpp:51
QStringList favoriteItems() const
Definition: AbstractDataPluginModel.cpp:478
virtual void getItem(const QString &id)=0
void start(int msec)
void addItemToList(AbstractDataPluginItem *item)
Convenience method to add one item to the list.
Definition: AbstractDataPluginModel.cpp:403
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
void parseFileRequested(const QByteArray &file)
This is the class painting a weather item on the screen.
Definition: WeatherItem.h:37
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 additionalItemsRequested(const GeoDataLatLonAltBox &, qint32 number)
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:42 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:42 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.