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 {
54 Q_ENUM(SatelliteSystem)
57 QGeoSatelliteInfo(
const QGeoSatelliteInfo &other);
58 QGeoSatelliteInfo(QGeoSatelliteInfoPrivate &dd);
59 QGeoSatelliteInfo(QGeoSatelliteInfo &&other)
noexcept =
default;
62 QGeoSatelliteInfo &operator=(
const QGeoSatelliteInfo &other);
63 QT_MOVE_ASSIGNMENT_OPERATOR_IMPL_VIA_PURE_SWAP(QGeoSatelliteInfo)
65 void swap(QGeoSatelliteInfo &other)
noexcept { d.swap(other.d); }
67 friend bool operator==(
const QGeoSatelliteInfo &lhs,
const QGeoSatelliteInfo &rhs)
69 return equals(lhs, rhs);
71 friend bool operator!=(
const QGeoSatelliteInfo &lhs,
const QGeoSatelliteInfo &rhs)
73 return !equals(lhs, rhs);
76 void setSatelliteSystem(SatelliteSystem system);
77 SatelliteSystem satelliteSystem()
const;
79 void setSatelliteIdentifier(
int satId);
80 int satelliteIdentifier()
const;
82 void setSignalStrength(
int signalStrength);
83 int signalStrength()
const;
85 void setAttribute(Attribute attribute, qreal value);
86 Q_INVOKABLE qreal attribute(Attribute attribute)
const;
87 void removeAttribute(Attribute attribute);
89 Q_INVOKABLE
bool hasAttribute(Attribute attribute)
const;
94 static bool equals(
const QGeoSatelliteInfo &lhs,
const QGeoSatelliteInfo &rhs);
95#ifndef QT_NO_DEBUG_STREAM
96 friend QDebug operator<<(QDebug dbg,
const QGeoSatelliteInfo &info)
98 return debugStreaming(dbg, info);
100 static QDebug debugStreaming(QDebug dbg,
const QGeoSatelliteInfo &info);
102#ifndef QT_NO_DATASTREAM
103 friend QDataStream &operator<<(QDataStream &stream,
const QGeoSatelliteInfo &info)
105 return dataStreamOut(stream, info);
107 friend QDataStream &operator>>(QDataStream &stream, QGeoSatelliteInfo &info)
109 return dataStreamIn(stream, info);
111 static QDataStream &dataStreamOut(QDataStream &stream,
const QGeoSatelliteInfo &info);
112 static QDataStream &dataStreamIn(QDataStream &stream, QGeoSatelliteInfo &info);
114 QExplicitlySharedDataPointer<QGeoSatelliteInfoPrivate> d;
115 friend class QGeoSatelliteInfoPrivate;
117 friend Q_POSITIONING_EXPORT size_t qHash(
const QGeoSatelliteInfo &key, size_t seed)
noexcept;
118 friend Q_POSITIONING_EXPORT
char *QTest::toString(
const QGeoSatelliteInfo &info);