4#ifndef QDECLARATIVESATELLITESOURCE_H
5#define QDECLARATIVESATELLITESOURCE_H
18#include <QtCore/private/qproperty_p.h>
19#include <QtCore/QObject>
21#include <QtPositioning/qgeosatelliteinfosource.h>
23#include <QtPositioningQuick/private/qdeclarativepluginparameter_p.h>
24#include <QtPositioningQuick/private/qpositioningquickglobal_p.h>
26#include <QtQml/QQmlParserStatus>
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;
73 void setUpdateInterval(
int updateInterval);
74 void setActive(
bool active);
100 void onParameterInitialized();
106 void createSource(
const QString &newName);
107 void handleSingleUpdateReceived();
109 void executeSingleUpdate(
int timeout);
119 std::unique_ptr<QGeoSatelliteInfoSource> m_source;
122 int m_updateInterval = 0;
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;
QQmlListProperty< QDeclarativePluginParameter > parameters()
void satellitesInViewChanged()
void updateIntervalChanged()
void satellitesInUseChanged()
void sourceErrorChanged()
void classBegin() override
Invoked after class creation, but before any properties have been set.
~QDeclarativeSatelliteSource()
Error
The Error enumeration represents the errors which can occur.
The QQmlListProperty class allows applications to expose list-like properties of QObject-derived clas...
The QQmlParserStatus class provides updates on the QML parser state.
virtual void componentComplete()=0
Invoked after the root component that caused this instantiation has completed construction.
\macro QT_RESTRICTED_CAST_FROM_ASCII
employee setName("Richard Schmit")
Combined button and popup list for selecting options.
DBusConnection const char DBusError * error
EGLOutputLayerEXT EGLint EGLAttrib value
[5]
GLbitfield GLuint64 timeout
[4]
#define QML_NAMED_ELEMENT(NAME)
#define QML_ADDED_IN_VERSION(MAJOR, MINOR)