summaryrefslogtreecommitdiff
path: root/examples/positioning/weatherinfo/appmodel.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/positioning/weatherinfo/appmodel.h')
-rw-r--r--examples/positioning/weatherinfo/appmodel.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/positioning/weatherinfo/appmodel.h b/examples/positioning/weatherinfo/appmodel.h
index 16297236..caa8b7d4 100644
--- a/examples/positioning/weatherinfo/appmodel.h
+++ b/examples/positioning/weatherinfo/appmodel.h
@@ -132,6 +132,7 @@ public:
bool hasValidCity() const;
bool hasValidWeather() const;
void setUseGps(bool value);
+ void hadError(bool tryAgain);
QString city() const;
void setCity(const QString &value);
@@ -144,6 +145,7 @@ public slots:
//! [2]
private slots:
+ void queryCity();
void networkSessionOpened();
void positionUpdated(QGeoPositionInfo gpsPos);
void positionError(QGeoPositionInfoSource::Error e);