18 #ifndef QGSQTLOCATIONCONNECTION_H 19 #define QGSQTLOCATIONCONNECTION_H 21 #include "qgis_core.h" 25 #include <QtCore/QPointer> 28 #if defined(HAVE_QT_MOBILITY_LOCATION ) 29 #include <QtLocation/QGeoPositionInfoSource> 30 #include <QtLocation/QGeoSatelliteInfo> 31 #include <QtLocation/QGeoSatelliteInfoSource> 34 #else // Using QtPositioning 35 #include <QtPositioning/QGeoPositionInfoSource> 36 #include <QtPositioning/QGeoSatelliteInfo> 37 #include <QtPositioning/QGeoSatelliteInfoSource> 58 void broadcastConnectionAvailable();
61 void parseData()
override;
67 void positionUpdated(
const QGeoPositionInfo &info )
SIP_SKIP;
77 void satellitesInViewUpdated(
const QList<QGeoSatelliteInfo> &satellites );
83 void satellitesInUseUpdated(
const QList<QGeoSatelliteInfo> &satellites );
91 void startSatelliteMonitor();
93 QGeoPositionInfo mInfo;
94 QPointer<QGeoPositionInfoSource> locationDataSource;
95 QPointer<QGeoSatelliteInfoSource> satelliteInfoSource;
101 #endif // QGSQTLOCATIONCONNECTION_H
#define SIP_IF_FEATURE(feature)
#define SIP_FEATURE(feature)
Abstract base class for connection to a GPS device.