#ifndef GPSLOCATION_H #define GPSLOCATION_H #include #include #include #include class GpsLocation : QObject { Q_OBJECT public: GpsLocation(QObject *parent); private: QGeoPositionInfo lastPos; QGeoPositionInfoSource *gpsSource; void status(QString msg); signals: public slots: void newPosition(QGeoPositionInfo pos); void updateTimeout(); }; #endif // GPSLOCATION_H