summaryrefslogtreecommitdiffstats
path: root/examples/positioning/weatherinfo/openweathermapbackend.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/positioning/weatherinfo/openweathermapbackend.h')
-rw-r--r--examples/positioning/weatherinfo/openweathermapbackend.h8
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 &currentWeather);
private:
- void requestCurrentWeather(QUrlQuery &query);
- void requestWeatherForecast(const QString &city, const WeatherInfo &currentWeather);
+ void requestCurrentWeather(QUrlQuery &query, const QGeoCoordinate &coordinate);
+ void requestWeatherForecast(const LocationInfo &location, const WeatherInfo &currentWeather);
QNetworkAccessManager *m_networkManager;
const QString m_appId;