24 QGeoLocation(
const QGeoLocation &other);
25 QGeoLocation(QGeoLocation &&other)
noexcept =
default;
28 QGeoLocation &operator=(
const QGeoLocation &other);
29 QT_MOVE_ASSIGNMENT_OPERATOR_IMPL_VIA_PURE_SWAP(QGeoLocation)
31 void swap(QGeoLocation &other)
noexcept { d.swap(other.d); }
33 friend bool operator==(
const QGeoLocation &lhs,
const QGeoLocation &rhs)
35 return equals(lhs, rhs);
37 friend bool operator!=(
const QGeoLocation &lhs,
const QGeoLocation &rhs)
39 return !equals(lhs, rhs);
42 QGeoAddress address()
const;
43 void setAddress(
const QGeoAddress &address);
44 QGeoCoordinate coordinate()
const;
45 void setCoordinate(
const QGeoCoordinate &position);
46 QGeoShape boundingShape()
const;
47 void setBoundingShape(
const QGeoShape &shape);
48 QVariantMap extendedAttributes()
const;
49 void setExtendedAttributes(
const QVariantMap &data);
54 static bool equals(
const QGeoLocation &lhs,
const QGeoLocation &rhs);
55 QSharedDataPointer<QGeoLocationPrivate> d;
58Q_POSITIONING_EXPORT size_t qHash(
const QGeoLocation &location, size_t seed = 0)
noexcept;