The WeatherResult class provides the weather result interfaces.
More...
#include <MyWeatherRequest.h>
|
void | finish_parse () |
| Emitted when the parsing is finished.
|
|
void | error_occurs (QString cached_error_string) |
| Emitted when an error occurs.
|
|
The WeatherResult class provides the weather result interfaces.
- Note
- WeatherResult is an abstract class that defines how to parse JSON strings retrieved from the web apps.
◆ WeatherResult()
WeatherResult::WeatherResult |
( |
QObject * |
obj = nullptr | ) |
|
|
inlineexplicit |
◆ error_occurs
void WeatherResult::error_occurs |
( |
QString |
cached_error_string | ) |
|
|
signal |
Emitted when an error occurs.
- Parameters
-
cached_error_string | The error string. |
◆ parseJsonString()
virtual void WeatherResult::parseJsonString |
( |
const QString |
json | ) |
|
|
pure virtual |
Parses the JSON string.
- Parameters
-
json | The JSON string to parse. |
Implemented in AppWeatherResult.
The documentation for this struct was generated from the following file: