23 QGeoLocation(
const QGeoLocation &other);
24 QGeoLocation(QGeoLocation &&other)
noexcept =
default;
27 QGeoLocation &operator=(
const QGeoLocation &other);
28 QT_MOVE_ASSIGNMENT_OPERATOR_IMPL_VIA_PURE_SWAP(QGeoLocation)
30 void swap(QGeoLocation &other)
noexcept { d.swap(other.d); }
32 friend bool operator==(
const QGeoLocation &lhs,
const QGeoLocation &rhs)
34 return equals(lhs, rhs);
36 friend bool operator!=(
const QGeoLocation &lhs,
const QGeoLocation &rhs)
38 return !equals(lhs, rhs);
41 QGeoAddress address()
const;
42 void setAddress(
const QGeoAddress &address);
43 QGeoCoordinate coordinate()
const;
44 void setCoordinate(
const QGeoCoordinate &position);
45 QGeoShape boundingShape()
const;
46 void setBoundingShape(
const QGeoShape &shape);
47 QVariantMap extendedAttributes()
const;
48 void setExtendedAttributes(
const QVariantMap &data);
53 static bool equals(
const QGeoLocation &lhs,
const QGeoLocation &rhs);
54 QSharedDataPointer<QGeoLocationPrivate> d;
57Q_POSITIONING_EXPORT size_t qHash(
const QGeoLocation &location, size_t seed = 0)
noexcept;