17Q_POSITIONING_EXPORT size_t qHash(
const QGeoSatelliteInfo &key, size_t seed = 0)
noexcept;
31 Q_PROPERTY(SatelliteSystem satelliteSystem READ satelliteSystem FINAL)
32 Q_PROPERTY(
int satelliteIdentifier READ satelliteIdentifier FINAL)
33 Q_PROPERTY(qreal signalStrength READ signalStrength FINAL)
42 enum SatelliteSystem {
52 Q_ENUM(SatelliteSystem)
55 QGeoSatelliteInfo(
const QGeoSatelliteInfo &other);
56 QGeoSatelliteInfo(QGeoSatelliteInfoPrivate &dd);
57 QGeoSatelliteInfo(QGeoSatelliteInfo &&other)
noexcept =
default;
60 QGeoSatelliteInfo &operator=(
const QGeoSatelliteInfo &other);
61 QT_MOVE_ASSIGNMENT_OPERATOR_IMPL_VIA_PURE_SWAP(QGeoSatelliteInfo)
63 void swap(QGeoSatelliteInfo &other)
noexcept { d.swap(other.d); }
65 friend bool operator==(
const QGeoSatelliteInfo &lhs,
const QGeoSatelliteInfo &rhs)
67 return equals(lhs, rhs);
69 friend bool operator!=(
const QGeoSatelliteInfo &lhs,
const QGeoSatelliteInfo &rhs)
71 return !equals(lhs, rhs);
74 void setSatelliteSystem(SatelliteSystem system);
75 SatelliteSystem satelliteSystem()
const;
77 void setSatelliteIdentifier(
int satId);
78 int satelliteIdentifier()
const;
80 void setSignalStrength(
int signalStrength);
81 int signalStrength()
const;
83 void setAttribute(Attribute attribute, qreal value);
84 Q_INVOKABLE qreal attribute(Attribute attribute)
const;
85 void removeAttribute(Attribute attribute);
87 Q_INVOKABLE
bool hasAttribute(Attribute attribute)
const;
92 static bool equals(
const QGeoSatelliteInfo &lhs,
const QGeoSatelliteInfo &rhs);
93#ifndef QT_NO_DEBUG_STREAM
94 friend QDebug operator<<(QDebug dbg,
const QGeoSatelliteInfo &info)
96 return debugStreaming(dbg, info);
98 static QDebug debugStreaming(QDebug dbg,
const QGeoSatelliteInfo &info);
100#ifndef QT_NO_DATASTREAM
101 friend QDataStream &operator<<(QDataStream &stream,
const QGeoSatelliteInfo &info)
103 return dataStreamOut(stream, info);
105 friend QDataStream &operator>>(QDataStream &stream, QGeoSatelliteInfo &info)
107 return dataStreamIn(stream, info);
109 static QDataStream &dataStreamOut(QDataStream &stream,
const QGeoSatelliteInfo &info);
110 static QDataStream &dataStreamIn(QDataStream &stream, QGeoSatelliteInfo &info);
112 QExplicitlySharedDataPointer<QGeoSatelliteInfoPrivate> d;
113 friend class QGeoSatelliteInfoPrivate;
115 friend Q_POSITIONING_EXPORT size_t qHash(
const QGeoSatelliteInfo &key, size_t seed)
noexcept;
116 friend Q_POSITIONING_EXPORT
char *QTest::toString(
const QGeoSatelliteInfo &info);