marble
#include <BBCWeatherItem.h>
Public Member Functions | |
BBCWeatherItem (QObject *parent=0) | |
~BBCWeatherItem () | |
void | addDownloadedFile (const QString &url, const QString &type) |
quint32 | bbcId () const |
QString | creditHtml () const |
QUrl | forecastUrl () const |
QUrl | observationUrl () const |
virtual bool | request (const QString &type) |
QString | service () const |
void | setBbcId (quint32 id) |
Public Member Functions inherited from Marble::WeatherItem | |
WeatherItem (QObject *parent=0) | |
WeatherItem (MarbleWidget *widget, QObject *parent=0) | |
~WeatherItem () | |
QAction * | action () |
virtual QList< QAction * > | actions () |
void | addForecastWeather (const QList< WeatherData > &forecasts) |
WeatherData | currentWeather () const |
QString | description () const |
QMap< QDate, WeatherData > | forecastWeather () const |
QString | image () const |
bool | initialized () const |
bool | operator< (const AbstractDataPluginItem *other) const |
quint8 | priority () const |
void | setCurrentWeather (const WeatherData &weather) |
void | setForecastWeather (const QMap< QDate, WeatherData > &forecasts) |
void | setMarbleWidget (MarbleWidget *widget) |
void | setPriority (quint8 priority) |
void | setSettings (const QHash< QString, QVariant > &settings) |
void | setStationName (const QString &name) |
QString | stationName () const |
double | temperature () const |
Public Member Functions inherited from Marble::AbstractDataPluginItem | |
AbstractDataPluginItem (QObject *parent=0) | |
virtual | ~AbstractDataPluginItem () |
qreal | addedAngularResolution () const |
QString | id () const |
bool | isFavorite () const |
bool | isSticky () const |
void | setAddedAngularResolution (qreal resolution) |
virtual void | setFavorite (bool favorite) |
void | setId (const QString &id) |
void | setSticky (bool sticky) |
void | setTarget (const QString &target) |
void | setToolTip (const QString &toolTip) |
QString | target () const |
QString | toolTip () const |
Public Member Functions inherited from QObject | |
QObject (QObject *parent) | |
QObject (QObject *parent, const char *name) | |
virtual | ~QObject () |
bool | blockSignals (bool block) |
QObject * | child (const char *objName, const char *inheritsClass, bool recursiveSearch) const |
const QObjectList & | children () const |
const char * | className () const |
bool | connect (const QObject *sender, const char *signal, const char *method, Qt::ConnectionType type) const |
void | deleteLater () |
void | destroyed (QObject *obj) |
bool | disconnect (const QObject *receiver, const char *method) |
bool | disconnect (const char *signal, const QObject *receiver, const char *method) |
void | dumpObjectInfo () |
void | dumpObjectTree () |
QList< QByteArray > | dynamicPropertyNames () const |
virtual bool | event (QEvent *e) |
virtual bool | eventFilter (QObject *watched, QEvent *event) |
T | findChild (const QString &name) const |
QList< T > | findChildren (const QRegExp ®Exp) const |
QList< T > | findChildren (const QString &name) const |
bool | inherits (const char *className) const |
void | insertChild (QObject *object) |
void | installEventFilter (QObject *filterObj) |
bool | isA (const char *className) const |
bool | isWidgetType () const |
void | killTimer (int id) |
virtual const QMetaObject * | metaObject () const |
void | moveToThread (QThread *targetThread) |
const char * | name () const |
const char * | name (const char *defaultName) const |
QString | objectName () const |
QObject * | parent () const |
QVariant | property (const char *name) const |
void | removeChild (QObject *object) |
void | removeEventFilter (QObject *obj) |
void | setName (const char *name) |
void | setObjectName (const QString &name) |
void | setParent (QObject *parent) |
bool | setProperty (const char *name, const QVariant &value) |
bool | signalsBlocked () const |
int | startTimer (int interval) |
QThread * | thread () const |
Public Member Functions inherited from Marble::BillboardGraphicsItem | |
BillboardGraphicsItem () | |
Qt::Alignment | alignment () const |
QList< QRectF > | boundingRects () const |
QRectF | containsRect (const QPointF &point) const |
GeoDataCoordinates | coordinate () const |
QList< QPointF > | positions () const |
void | setAlignment (Qt::Alignment alignment) |
void | setCoordinate (const GeoDataCoordinates &coordinates) |
Public Member Functions inherited from Marble::MarbleGraphicsItem | |
virtual | ~MarbleGraphicsItem () |
CacheMode | cacheMode () const |
bool | contains (const QPointF &point) const |
virtual QRectF | contentRect () const |
virtual QSizeF | contentSize () const |
void | hide () |
AbstractMarbleGraphicsLayout * | layout () const |
bool | paintEvent (QPainter *painter, const ViewportParams *viewport) |
void | setCacheMode (CacheMode mode) |
virtual void | setContentSize (const QSizeF &size) |
void | setLayout (AbstractMarbleGraphicsLayout *layout) |
virtual void | setProjection (const ViewportParams *viewport) |
void | setSize (const QSizeF &size) |
void | setVisible (bool visible) |
void | show () |
QSizeF | size () const |
bool | visible () const |
Additional Inherited Members | |
Public Types inherited from Marble::MarbleGraphicsItem | |
enum | CacheMode { NoCache, ItemCoordinateCache, DeviceCoordinateCache } |
Public Slots inherited from Marble::WeatherItem | |
void | openBrowser () |
Public Slots inherited from Marble::AbstractDataPluginItem | |
void | toggleFavorite () |
Signals inherited from Marble::WeatherItem | |
void | descriptionChanged () |
void | imageChanged () |
void | stationNameChanged () |
void | temperatureChanged () |
Signals inherited from Marble::AbstractDataPluginItem | |
void | favoriteChanged (const QString &id, bool favorite) |
void | idChanged () |
void | stickyChanged () |
void | updated () |
Static Public Member Functions inherited from QObject | |
bool | connect (const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type) |
bool | connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type) |
bool | disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *method) |
bool | disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method) |
QString | tr (const char *sourceText, const char *disambiguation, int n) |
QString | trUtf8 (const char *sourceText, const char *disambiguation, int n) |
Protected Member Functions inherited from QObject | |
bool | checkConnectArgs (const char *signal, const QObject *object, const char *method) |
virtual void | childEvent (QChildEvent *event) |
virtual void | connectNotify (const char *signal) |
virtual void | customEvent (QEvent *event) |
virtual void | disconnectNotify (const char *signal) |
int | receivers (const char *signal) const |
QObject * | sender () const |
int | senderSignalIndex () const |
virtual void | timerEvent (QTimerEvent *event) |
Protected Member Functions inherited from Marble::MarbleGraphicsItem | |
MarbleGraphicsItem (MarbleGraphicsItemPrivate *d_ptr) | |
virtual bool | eventFilter (QObject *object, QEvent *e) |
virtual void | paint (QPainter *painter) |
void | update () |
Static Protected Member Functions inherited from QObject | |
QByteArray | normalizeSignalSlot (const char *signalSlot) |
Protected Attributes inherited from Marble::MarbleGraphicsItem | |
MarbleGraphicsItemPrivate *const | d |
Properties inherited from Marble::WeatherItem | |
QString | description |
QString | image |
QString | station |
double | temperature |
Properties inherited from Marble::AbstractDataPluginItem | |
bool | favorite |
QString | identifier |
bool | sticky |
Properties inherited from QObject | |
objectName | |
Detailed Description
Definition at line 22 of file BBCWeatherItem.h.
Constructor & Destructor Documentation
|
explicit |
Definition at line 27 of file BBCWeatherItem.cpp.
BBCWeatherItem::~BBCWeatherItem | ( | ) |
Definition at line 34 of file BBCWeatherItem.cpp.
Member Function Documentation
Implements Marble::WeatherItem.
Definition at line 60 of file BBCWeatherItem.cpp.
quint32 BBCWeatherItem::bbcId | ( | ) | const |
Definition at line 67 of file BBCWeatherItem.cpp.
QString BBCWeatherItem::creditHtml | ( | ) | const |
Definition at line 90 of file BBCWeatherItem.cpp.
QUrl BBCWeatherItem::forecastUrl | ( | ) | const |
Definition at line 84 of file BBCWeatherItem.cpp.
QUrl BBCWeatherItem::observationUrl | ( | ) | const |
Definition at line 78 of file BBCWeatherItem.cpp.
|
virtual |
Test if the item wants to request type
again.
Reimplemented from Marble::WeatherItem.
Definition at line 38 of file BBCWeatherItem.cpp.
|
virtual |
Returns the provider of the weather information.
Implements Marble::WeatherItem.
Definition at line 55 of file BBCWeatherItem.cpp.
void BBCWeatherItem::setBbcId | ( | quint32 | id | ) |
Definition at line 72 of file BBCWeatherItem.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:44 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.