marble
GeoNamesWeatherService.cpp
Go to the documentation of this file.
Definition: WeatherData.h:46
Definition: WeatherData.h:75
~GeoNamesWeatherService()
Definition: GeoNamesWeatherService.cpp:42
void setTarget(const QString &target)
Definition: AbstractDataPluginItem.cpp:66
void setCondition(WeatherData::WeatherCondition condition)
Definition: WeatherData.cpp:348
void next()
Definition: WeatherData.h:51
void setQuery(const QString &txt)
void setPressure(qreal pressure, WeatherData::PressureUnit format=WeatherData::HectoPascal)
Definition: WeatherData.cpp:721
This file contains the headers for MarbleModel.
void setId(const QString &id)
Definition: AbstractDataPluginItem.cpp:86
Definition: WeatherData.h:79
QScriptValue evaluate(const QString &program, const QString &fileName, int lineNumber)
QString toString() const
Definition: WeatherData.h:57
Definition: WeatherData.h:76
Definition: WeatherData.h:26
qreal north(GeoDataCoordinates::Unit unit=GeoDataCoordinates::Radian) const
Get the northern boundary of the bounding box.
Definition: GeoDataLatLonBox.cpp:93
const MarbleModel * marbleModel() const
Definition: AbstractWeatherService.cpp:34
const char * name() const
qreal east(GeoDataCoordinates::Unit unit=GeoDataCoordinates::Radian) const
Get the eastern boundary of the bounding box.
Definition: GeoDataLatLonBox.cpp:135
QString number(int n, int base)
void setWindSpeed(qreal speed, WeatherData::SpeedUnit format=WeatherData::mps)
Definition: WeatherData.cpp:536
Definition: WeatherData.h:45
void setStationName(const QString &name)
Definition: WeatherItem.cpp:384
Definition: WeatherData.h:78
void setDataDate(const QDate &date)
Set the date the data is meant for.
Definition: WeatherData.cpp:332
void getItem(const QString &id)
Definition: GeoNamesWeatherService.cpp:75
Definition: WeatherData.h:33
Definition: WeatherData.h:67
void createdItems(QList< AbstractDataPluginItem * > items)
Definition: WeatherData.h:110
Definition: WeatherData.h:39
QScriptValue property(const QString &name, const ResolveFlags &mode) const
Definition: WeatherData.h:58
Definition: WeatherData.h:77
Definition: WeatherData.h:65
QDateTime fromString(const QString &string, Qt::DateFormat format)
Definition: WeatherData.h:80
void setTemperature(qreal temp, WeatherData::TemperatureUnit format=WeatherData::Kelvin)
Definition: WeatherData.cpp:621
qreal west(GeoDataCoordinates::Unit unit=GeoDataCoordinates::Radian) const
Get the western boundary of the bounding box.
Definition: GeoDataLatLonBox.cpp:156
The data model (not based on QAbstractModel) for a MarbleWidget.
Definition: MarbleModel.h:97
MarbleWidget * marbleWidget()
Definition: AbstractWeatherService.cpp:39
QDate date() const
Definition: WeatherData.h:68
qreal south(GeoDataCoordinates::Unit unit=GeoDataCoordinates::Radian) const
Get the southern boundary of the bounding box.
Definition: GeoDataLatLonBox.cpp:114
Definition: WeatherData.h:70
void parseFile(const QByteArray &file)
Definition: GeoNamesWeatherService.cpp:96
qsreal toInteger() const
Definition: WeatherData.h:71
void downloadDescriptionFileRequested(const QUrl &)
void addQueryItem(const QString &key, const QString &value)
void setMarbleWidget(MarbleWidget *widget)
Definition: WeatherItem.cpp:478
Definition: WeatherData.h:55
Definition: WeatherData.h:54
Definition: WeatherData.h:73
Definition: WeatherData.h:56
void setCoordinate(const GeoDataCoordinates &coordinates)
Definition: BillboardGraphicsItem.cpp:98
Definition: WeatherData.h:72
void setPublishingTime(const QDateTime &dateTime)
Set the time when the data was published.
Definition: WeatherData.cpp:316
void getAdditionalItems(const GeoDataLatLonAltBox &box, qint32 number=10)
Definition: GeoNamesWeatherService.cpp:46
Definition: WeatherData.h:43
bool isArray() const
A class that defines a 3D bounding box for geographic data.
Definition: GeoDataLatLonAltBox.h:49
Definition: WeatherData.h:105
GeoNamesWeatherService(const MarbleModel *model, QObject *parent)
Definition: GeoNamesWeatherService.cpp:36
Definition: WeatherData.h:66
Definition: WeatherData.h:74
void setWindDirection(WeatherData::WindDirection direction)
Definition: WeatherData.cpp:437
void setCurrentWeather(const WeatherData &weather)
Definition: WeatherItem.cpp:400
qsreal toNumber() const
Definition: WeatherData.h:69
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:39 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:39 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.