18Q_POSITIONING_EXPORT size_t qHash(
const QGeoSatelliteInfo &key, size_t seed = 0)
noexcept;
32 Q_PROPERTY(SatelliteSystem satelliteSystem READ satelliteSystem FINAL)
33 Q_PROPERTY(
int satelliteIdentifier READ satelliteIdentifier FINAL)
34 Q_PROPERTY(qreal signalStrength READ signalStrength FINAL)
43 enum SatelliteSystem {
55 Q_ENUM(SatelliteSystem)
58 QGeoSatelliteInfo(
const QGeoSatelliteInfo &other);
59 QGeoSatelliteInfo(QGeoSatelliteInfoPrivate &dd);
60 QGeoSatelliteInfo(QGeoSatelliteInfo &&other)
noexcept =
default;
63 QGeoSatelliteInfo &operator=(
const QGeoSatelliteInfo &other);
64 QT_MOVE_ASSIGNMENT_OPERATOR_IMPL_VIA_PURE_SWAP(QGeoSatelliteInfo)
66 void swap(QGeoSatelliteInfo &other)
noexcept { d.swap(other.d); }
68 friend bool operator==(
const QGeoSatelliteInfo &lhs,
const QGeoSatelliteInfo &rhs)
70 return equals(lhs, rhs);
72 friend bool operator!=(
const QGeoSatelliteInfo &lhs,
const QGeoSatelliteInfo &rhs)
74 return !equals(lhs, rhs);
77 void setSatelliteSystem(SatelliteSystem system);
78 SatelliteSystem satelliteSystem()
const;
80 void setSatelliteIdentifier(
int satId);
81 int satelliteIdentifier()
const;
83 void setSignalStrength(
int signalStrength);
84 int signalStrength()
const;
86 void setAttribute(Attribute attribute, qreal value);
87 Q_INVOKABLE qreal attribute(Attribute attribute)
const;
88 void removeAttribute(Attribute attribute);
90 Q_INVOKABLE
bool hasAttribute(Attribute attribute)
const;
95 static bool equals(
const QGeoSatelliteInfo &lhs,
const QGeoSatelliteInfo &rhs);
96#ifndef QT_NO_DEBUG_STREAM
97 friend QDebug operator<<(QDebug dbg,
const QGeoSatelliteInfo &info)
99 return debugStreaming(dbg, info);
101 static QDebug debugStreaming(QDebug dbg,
const QGeoSatelliteInfo &info);
103#ifndef QT_NO_DATASTREAM
104 friend QDataStream &operator<<(QDataStream &stream,
const QGeoSatelliteInfo &info)
106 return dataStreamOut(stream, info);
108 friend QDataStream &operator>>(QDataStream &stream, QGeoSatelliteInfo &info)
110 return dataStreamIn(stream, info);
112 static QDataStream &dataStreamOut(QDataStream &stream,
const QGeoSatelliteInfo &info);
113 static QDataStream &dataStreamIn(QDataStream &stream, QGeoSatelliteInfo &info);
115 QExplicitlySharedDataPointer<QGeoSatelliteInfoPrivate> d;
116 friend class QGeoSatelliteInfoPrivate;
118 friend Q_POSITIONING_EXPORT size_t qHash(
const QGeoSatelliteInfo &key, size_t seed)
noexcept;
119 friend Q_POSITIONING_EXPORT
char *QTest::toString(
const QGeoSatelliteInfo &info);