Searched refs:geoPosition (Results 1 – 1 of 1) sorted by relevance
63 void GeolocationClientQt::positionUpdated(const QGeoPositionInfo &geoPosition) in positionUpdated() argument65 if (!geoPosition.isValid()) in positionUpdated()68 QGeoCoordinate coord = geoPosition.coordinate(); in positionUpdated()71 bool providesAltitude = (geoPosition.coordinate().type() == QGeoCoordinate::Coordinate3D); in positionUpdated()74 double accuracy = geoPosition.attribute(QGeoPositionInfo::HorizontalAccuracy); in positionUpdated()76 bool providesAltitudeAccuracy = geoPosition.hasAttribute(QGeoPositionInfo::VerticalAccuracy); in positionUpdated()77 double altitudeAccuracy = geoPosition.attribute(QGeoPositionInfo::VerticalAccuracy); in positionUpdated()79 bool providesHeading = geoPosition.hasAttribute(QGeoPositionInfo::Direction); in positionUpdated()80 double heading = geoPosition.attribute(QGeoPositionInfo::Direction); in positionUpdated()82 bool providesSpeed = geoPosition.hasAttribute(QGeoPositionInfo::GroundSpeed); in positionUpdated()[all …]