11#define UPDATE_FROM_COLD_START 2*60*1000
16 qRegisterMetaType< QGeoSatelliteInfo >();
17 qRegisterMetaType< QList<QGeoSatelliteInfo> >();
23 this,
SLOT(requestTimeout()));
45 if (msec == previousInterval)
51 reconfigureRunningSystem();
69 updatesRunning =
true;
76 updatesRunning =
false;
86 updatesRunning =
false;
114 androidClassKeyForSingleRequest,
true,
timeout);
126 if (!isSingleUpdate) {
135 m_satsInView = satsInView;
136 m_satsInUse = satsInUse;
144void QGeoSatelliteInfoSourceAndroid::requestTimeout()
157 m_satsInView.
clear();
164void QGeoSatelliteInfoSourceAndroid::reconfigureRunningSystem()
void locationProviderDisabled()
void startUpdates() override
void stopUpdates() override
QGeoSatelliteInfoSourceAndroid(QObject *parent=0)
~QGeoSatelliteInfoSourceAndroid()
int minimumUpdateInterval() const override
void processSatelliteUpdate(const QList< QGeoSatelliteInfo > &satsInView, const QList< QGeoSatelliteInfo > &satsInUse, bool isSingleUpdate)
void requestUpdate(int timeout=0) override
void setUpdateInterval(int msec) override
Error error() const override
Returns the last error that occurred.
virtual void setUpdateInterval(int msec)
Error
The Error enumeration represents the errors which can occur.
int updateInterval
This property holds the requested interval in milliseconds between each update.
void satellitesInViewUpdated(const QList< QGeoSatelliteInfo > &satellites)
If startUpdates() or requestUpdate() is called, this signal is emitted when an update is available on...
void satellitesInUseUpdated(const QList< QGeoSatelliteInfo > &satellites)
If startUpdates() or requestUpdate() is called, this signal is emitted when an update is available on...
void errorOccurred(QGeoSatelliteInfoSource::Error)
This signal is emitted after an error occurred.
bool isEmpty() const noexcept
static QMetaObject::Connection connect(const QObject *sender, const char *signal, const QObject *receiver, const char *member, Qt::ConnectionType=Qt::AutoConnection)
\threadsafe
void setSingleShot(bool singleShot)
void start(int msec)
Starts or restarts the timer with a timeout interval of msec milliseconds.
bool isActive() const
Returns true if the timer is running (pending); otherwise returns false.
void stop()
Stops the timer.
void unregisterPositionInfoSource(int key)
QGeoSatelliteInfoSource::Error startSatelliteUpdates(int androidClassKey, bool isSingleRequest, int requestTimeout)
int registerPositionInfoSource(QObject *obj)
void stopUpdates(int androidClassKey)
DBusConnection const char DBusError * error
#define UPDATE_FROM_COLD_START
GLbitfield GLuint64 timeout
[4]
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent