8#include <kweathercore/kweathercore_export.h>
10#include "hourlyweatherforecast.h"
13#include <QSharedDataPointer>
20class DailyWeatherForecastPrivate;
34 Q_PROPERTY(qreal maxTemp READ maxTemp)
35 Q_PROPERTY(qreal minTemp READ minTemp)
36 Q_PROPERTY(qreal precipitation READ precipitation)
37 Q_PROPERTY(qreal uvIndex READ uvIndex)
38 Q_PROPERTY(qreal humidity READ humidity)
39 Q_PROPERTY(qreal pressure READ pressure)
40 Q_PROPERTY(
QString weatherIcon READ weatherIcon)
41 Q_PROPERTY(
QString weatherDescription READ weatherDescription)
65 void setMaxTemp(
double maxTemp);
70 void setMinTemp(
double minTemp);
75 void setPrecipitation(
double precipitation);
80 void setUvIndex(
double uvIndex);
85 void setHumidity(
double humidity);
90 void setPressure(
double pressure);
95 void setWeatherIcon(
const QString &icon);
100 void setWeatherDescription(
const QString &description);
105 void setDate(
const QDate &date);
112 double maxTemp()
const;
118 double minTemp()
const;
123 double precipitation()
const;
128 double uvIndex()
const;
133 double humidity()
const;
138 double pressure()
const;
143 const QString &weatherIcon()
const;
149 const QString &weatherDescription()
const;
154 const QDate &date()
const;
160 const std::vector<HourlyWeatherForecast> &hourlyWeatherForecast()
const;
165 void setHourlyWeatherForecast(std::vector<HourlyWeatherForecast> &&forecast);
Class represents weatherforecast in a day.
Class represents weatherforecast in a hour.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:00:29 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.