The AppWeatherResult class provides the weather result and implements the WeatherResult functionality.
More...
#include <AppWeatherRequest.h>
|
QString | cached_city |
| The city for which weather data is requested.
|
|
QList< DailyWeather > | daily_weather |
| The list of daily weather data.
|
|
|
void | finish_parse () |
| Emitted when the parsing is finished.
|
|
void | error_occurs (QString cached_error_string) |
| Emitted when an error occurs.
|
|
The AppWeatherResult class provides the weather result and implements the WeatherResult functionality.
◆ AppWeatherResult()
AppWeatherResult::AppWeatherResult |
( |
QObject * |
parent = nullptr | ) |
|
|
inlineexplicit |
◆ parseJsonString()
void AppWeatherResult::parseJsonString |
( |
const QString |
json | ) |
|
|
overridevirtual |
Parses the JSON string from remote servers.
- Parameters
-
json | The JSON string to parse. |
Implements WeatherResult.
The documentation for this class was generated from the following files:
- extern_app/WeatherApp/Core/AppWeatherRequest.h
- extern_app/WeatherApp/Core/AppWeatherRequest.cpp