diff options
Diffstat (limited to 'qt-mobile/gpslocation.h')
-rw-r--r-- | qt-mobile/gpslocation.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/qt-mobile/gpslocation.h b/qt-mobile/gpslocation.h index a8437cca2..ff7aa1ea4 100644 --- a/qt-mobile/gpslocation.h +++ b/qt-mobile/gpslocation.h @@ -7,6 +7,7 @@ #include <QGeoPositionInfoSource> #include <QGeoPositionInfo> #include <QSettings> +#include <QNetworkReply> class GpsLocation : QObject { @@ -21,6 +22,7 @@ private: QGeoPositionInfoSource *gpsSource; void status(QString msg); QSettings *geoSettings; + QNetworkReply *reply; signals: @@ -28,7 +30,10 @@ public slots: void serviceEnable(bool toggle); void newPosition(QGeoPositionInfo pos); void updateTimeout(); + void uploadToServer(); + void postError(QNetworkReply::NetworkError error); void clearGpsData(); + }; #endif // GPSLOCATION_H |