diff options
Diffstat (limited to 'examples/positioning/weatherinfo/openweathermapbackend.h')
-rw-r--r-- | examples/positioning/weatherinfo/openweathermapbackend.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/positioning/weatherinfo/openweathermapbackend.h b/examples/positioning/weatherinfo/openweathermapbackend.h index 91271ca0..7f4e5f97 100644 --- a/examples/positioning/weatherinfo/openweathermapbackend.h +++ b/examples/positioning/weatherinfo/openweathermapbackend.h @@ -70,13 +70,13 @@ public: void requestWeatherInfo(const QGeoCoordinate &coordinate) override; private slots: - void handleCurrentWeatherReply(QNetworkReply *reply); - void handleWeatherForecastReply(QNetworkReply *reply, const QString &city, + void handleCurrentWeatherReply(QNetworkReply *reply, const QGeoCoordinate &coordinate); + void handleWeatherForecastReply(QNetworkReply *reply, const LocationInfo &location, const WeatherInfo ¤tWeather); private: - void requestCurrentWeather(QUrlQuery &query); - void requestWeatherForecast(const QString &city, const WeatherInfo ¤tWeather); + void requestCurrentWeather(QUrlQuery &query, const QGeoCoordinate &coordinate); + void requestWeatherForecast(const LocationInfo &location, const WeatherInfo ¤tWeather); QNetworkAccessManager *m_networkManager; const QString m_appId; |