37 Q_PROPERTY(
bool valid READ isValid NOTIFY validityChanged)
38 Q_PROPERTY(
int updateInterval READ updateInterval WRITE setUpdateInterval
39 NOTIFY updateIntervalChanged)
44 NOTIFY satellitesInUseChanged)
46 NOTIFY satellitesInViewChanged)
66 int updateInterval()
const;
69 QQmlListProperty<QDeclarativePluginParameter>
parameters();
70 QList<QGeoSatelliteInfo> satellitesInUse()
const;
71 QList<QGeoSatelliteInfo> satellitesInView()
const;
73 void setUpdateInterval(
int updateInterval);
74 void setActive(
bool active);
79 void componentComplete()
override;
100 void onParameterInitialized();
101 void satellitesInViewUpdateReceived(
const QList<QGeoSatelliteInfo> &satellites);
102 void satellitesInUseUpdateReceived(
const QList<QGeoSatelliteInfo> &satellites);
106 void createSource(
const QString &newName);
107 void handleSingleUpdateReceived();
109 void executeSingleUpdate(
int timeout);
119 std::unique_ptr<QGeoSatelliteInfoSource> m_source;
120 QList<QDeclarativePluginParameter *> m_parameters;
122 int m_updateInterval = 0;
125 QList<QGeoSatelliteInfo> m_satellitesInView;
126 QList<QGeoSatelliteInfo> m_satellitesInUse;
128 int m_singleUpdateDesiredTimeout = 0;
131 quint8 m_componentComplete : 1;
132 quint8 m_parametersInitialized : 1;
133 quint8 m_startRequested : 1;
134 quint8 m_defaultSourceUsed : 1;
135 quint8 m_regularUpdates : 1;
136 quint8 m_singleUpdate : 1;
137 quint8 m_singleUpdateRequested : 1;