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>
35 #include <QtPositioning/QGeoPositionInfoSource>
36 #include <QtPositioning/QGeoSatelliteInfo>
37 #include <QtPositioning/QGeoSatelliteInfoSource>
59 void broadcastConnectionAvailable();
62 void parseData()
override;
68 void positionUpdated(
const QGeoPositionInfo &info )
SIP_SKIP;
78 void satellitesInViewUpdated(
const QList<QGeoSatelliteInfo> &satellites );
84 void satellitesInUseUpdated(
const QList<QGeoSatelliteInfo> &satellites );
92 void startSatelliteMonitor();
94 QGeoPositionInfo mInfo;
95 QPointer<QGeoPositionInfoSource> locationDataSource;
96 QPointer<QGeoSatelliteInfoSource> satelliteInfoSource;
Abstract base class for connection to a GPS device.
A GPS connection subclass based on the Qt Location libraries.
#define SIP_IF_FEATURE(feature)
#define SIP_FEATURE(feature)