The AppWeatherRequest class provides the weather request and implements the WeatherRequest functionality.
More...
#include <AppWeatherRequest.h>
|
void | errorOccurs (QNetworkReply *reply) |
| Emitted when an error occurs in the request.
|
|
void | result_available (const QString json) |
| Emitted when the result is available.
|
|
QNetworkAccessManager | manager |
| The network manager handling requests.
|
|
static constexpr const char * | private_key = _DEF_WEATHER_PRIVATE_KEY |
| Private key for accessing the weather service.
|
|
The AppWeatherRequest class provides the weather request and implements the WeatherRequest functionality.
◆ AppWeatherRequest()
AppWeatherRequest::AppWeatherRequest |
( |
QObject * |
parent = nullptr | ) |
|
|
inline |
◆ bindAppDetailedRequest()
Binds a detailed request.
- Parameters
-
◆ compose_request()
QUrlQuery AppWeatherRequest::compose_request |
( |
| ) |
|
|
overridevirtual |
Composes the URL query for the weather request.
- Returns
- The composed QUrlQuery.
Implements WeatherRequest.
The documentation for this class was generated from the following files:
- extern_app/WeatherApp/Core/AppWeatherRequest.h
- extern_app/WeatherApp/Core/AppWeatherRequest.cpp