marble
WeatherData.cpp
Go to the documentation of this file.
274 QHash<WeatherData::WeatherCondition, QImage> WeatherDataPrivate::s_icons = QHash<WeatherData::WeatherCondition, QImage>();
275 QHash<WeatherData::WeatherCondition, QString> WeatherDataPrivate::s_iconPath = QHash<WeatherData::WeatherCondition, QString>();
276 WeatherData::TemperatureUnit WeatherDataPrivate::s_standardTemperatureUnit = WeatherData::Celsius;
780 void WeatherData::setPressureDevelopment( WeatherData::PressureDevelopment pressureDevelopment )
bool hasValidCondition() const
Definition: WeatherData.cpp:354
Definition: WeatherData.h:46
qreal pressure(WeatherData::PressureUnit format=WeatherData::HectoPascal) const
Definition: WeatherData.cpp:698
Definition: WeatherData.h:75
Definition: WeatherData.h:120
void setCondition(WeatherData::WeatherCondition condition)
Definition: WeatherData.cpp:348
bool hasValidWindDirection() const
Definition: WeatherData.cpp:443
Definition: WeatherData.h:104
bool hasValidPressureDevelopment() const
Definition: WeatherData.cpp:786
Definition: WeatherData.h:51
QDateTime toUTC() const
static QString path(const QString &relativePath)
Definition: MarbleDirs.cpp:59
QString toString(qlonglong i) const
void setPressure(qreal pressure, WeatherData::PressureUnit format=WeatherData::HectoPascal)
Definition: WeatherData.cpp:721
QString minTemperatureString(WeatherData::TemperatureUnit format=WeatherData::Kelvin) const
Definition: WeatherData.cpp:665
void setPressureDevelopment(WeatherData::PressureDevelopment)
Definition: WeatherData.cpp:780
Definition: WeatherData.h:79
QDateTime publishingTime() const
Get the time when the data was published.
Definition: WeatherData.cpp:311
WeatherData::WindDirection windDirection() const
Definition: WeatherData.cpp:432
bool hasValidDataDate() const
Checks, if the data item has a valid data date.
Definition: WeatherData.cpp:338
void setMaxTemperature(qreal temp, WeatherData::TemperatureUnit format=WeatherData::Kelvin)
Definition: WeatherData.cpp:643
bool isNull() const
Definition: WeatherData.h:118
QString tr(const char *sourceText, const char *disambiguation, int n)
Definition: WeatherData.h:57
QLocale system()
Definition: WeatherData.h:76
Definition: WeatherData.h:26
Definition: WeatherData.h:106
void setWindSpeed(qreal speed, WeatherData::SpeedUnit format=WeatherData::mps)
Definition: WeatherData.cpp:536
WeatherData::PressureDevelopment pressureDevelopment() const
Definition: WeatherData.cpp:775
bool hasValidPublishingTime() const
Checks, if the data item has a valid publishing time.
Definition: WeatherData.cpp:322
Definition: WeatherData.h:45
Definition: WeatherData.h:78
Definition: WeatherData.h:117
Definition: WeatherData.h:87
WeatherData::WeatherCondition condition() const
Definition: WeatherData.cpp:343
void setDataDate(const QDate &date)
Set the date the data is meant for.
Definition: WeatherData.cpp:332
void setVisibilty(WeatherData::Visibility visibility)
Definition: WeatherData.cpp:687
QString pressureString(WeatherData::PressureUnit format=WeatherData::HectoPascal) const
Definition: WeatherData.cpp:749
Definition: WeatherData.h:33
Definition: WeatherData.h:112
Definition: WeatherData.h:67
qreal maxTemperature(WeatherData::TemperatureUnit format=WeatherData::Kelvin) const
Definition: WeatherData.cpp:638
Definition: WeatherData.h:110
Definition: WeatherData.h:39
bool hasValidWindSpeed() const
Definition: WeatherData.cpp:585
Definition: WeatherData.h:85
Definition: WeatherData.h:58
Definition: WeatherData.h:77
Definition: WeatherData.h:102
Definition: WeatherData.h:65
QString maxTemperatureString(WeatherData::TemperatureUnit format=WeatherData::Kelvin) const
Definition: WeatherData.cpp:649
bool hasValidTemperature() const
Definition: WeatherData.cpp:627
Definition: WeatherData.h:80
WeatherData & operator=(const WeatherData &other)
Definition: WeatherData.cpp:875
void setTemperature(qreal temp, WeatherData::TemperatureUnit format=WeatherData::Kelvin)
Definition: WeatherData.cpp:621
bool hasValidMaxTemperature() const
Definition: WeatherData.cpp:655
QString windDirectionString() const
Definition: WeatherData.cpp:448
Definition: WeatherData.h:103
Definition: WeatherData.h:68
Definition: WeatherData.h:119
bool hasValidVisibility() const
Definition: WeatherData.cpp:693
qreal temperature(WeatherData::TemperatureUnit format=WeatherData::Kelvin) const
Definition: WeatherData.cpp:616
qreal windSpeed(WeatherData::SpeedUnit format=WeatherData::mps) const
Definition: WeatherData.cpp:488
Definition: WeatherData.h:70
void setMinTemperature(qreal temp, WeatherData::TemperatureUnit format=WeatherData::Kelvin)
Definition: WeatherData.cpp:671
Definition: WeatherData.h:71
qreal minTemperature(WeatherData::TemperatureUnit format=WeatherData::Kelvin) const
Definition: WeatherData.cpp:660
Definition: WeatherData.h:34
Definition: WeatherData.h:55
Definition: WeatherData.h:54
QString pressureDevelopmentString() const
Definition: WeatherData.cpp:791
Definition: WeatherData.h:73
Definition: WeatherData.h:56
QString temperatureString(WeatherData::TemperatureUnit format=WeatherData::Kelvin) const
Definition: WeatherData.cpp:632
Definition: WeatherData.h:72
void setPublishingTime(const QDateTime &dateTime)
Set the time when the data was published.
Definition: WeatherData.cpp:316
Definition: WeatherData.h:43
QString arg(qlonglong a, int fieldWidth, int base, const QChar &fillChar) const
Definition: WeatherData.h:111
Definition: WeatherData.h:105
Definition: WeatherData.h:86
QString toHtml(WeatherData::TemperatureUnit temperatureUnit, WeatherData::SpeedUnit speedUnit, WeatherData::PressureUnit pressureUnit) const
Definition: WeatherData.cpp:826
QString windSpeedString(WeatherData::SpeedUnit unit=WeatherData::kph) const
Definition: WeatherData.cpp:590
bool hasValidMinTemperature() const
Definition: WeatherData.cpp:677
Definition: WeatherData.h:66
Definition: WeatherData.h:74
WeatherData::Visibility visibility() const
Definition: WeatherData.cpp:682
void setWindDirection(WeatherData::WindDirection direction)
Definition: WeatherData.cpp:437
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: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.