4#ifndef QGEOPOSITIONINFOSOURCECL_H
5#define QGEOPOSITIONINFOSOURCECL_H
18#import <CoreLocation/CoreLocation.h>
44 bool enableLocationManager();
45 void setTimeoutInterval(
int msec);
58 CLLocationManager *m_locationManager;
void setUpdateInterval(int msec) override
void requestUpdate(int timeout=0) override
void startUpdates() override
void locationDataAvailable(QGeoPositionInfo location)
int minimumUpdateInterval() const override
Error error() const override
Returns the type of error that last occurred.
QGeoPositionInfo lastKnownPosition(bool fromSatellitePositioningMethodsOnly=false) const override
Returns an update containing the last known position, or a null update if none is available.
void timerEvent(QTimerEvent *event) override
This event handler can be reimplemented in a subclass to receive timer events for the object.
void changeAuthorizationStatus(CLAuthorizationStatus status)
PositioningMethods supportedPositioningMethods() const override
Returns the positioning methods available to this source.
void stopUpdates() override
void setError(QGeoPositionInfoSource::Error positionError)
~QGeoPositionInfoSourceCL()
Error
The Error enumeration represents the errors which can occur.
QObject * parent() const
Returns a pointer to the parent object.
Combined button and popup list for selecting options.
GLbitfield GLuint64 timeout
[4]