35 QML_VALUE_TYPE(mapType)
38 Q_PROPERTY(MapStyle style READ style CONSTANT)
39 Q_PROPERTY(QString name READ name CONSTANT)
40 Q_PROPERTY(QString description READ description CONSTANT)
41 Q_PROPERTY(
bool mobile READ mobile CONSTANT)
42 Q_PROPERTY(
bool night READ night CONSTANT)
43 Q_PROPERTY(QGeoCameraCapabilities cameraCapabilities READ cameraCapabilities CONSTANT)
44 Q_PROPERTY(QVariantMap metadata READ metadata CONSTANT)
46 Q_MOC_INCLUDE(<QtLocation/
private/qgeocameracapabilities_p.h>)
65 QGeoMapType(
const QGeoMapType &other)
noexcept;
66 QGeoMapType(QGeoMapType &&other)
noexcept =
default;
67 QGeoMapType(MapStyle style,
const QString &name,
const QString &description,
bool mobile,
68 bool night,
int mapId,
const QByteArray &pluginName,
69 const QGeoCameraCapabilities &cameraCapabilities,
70 const QVariantMap &metadata = QVariantMap());
73 QGeoMapType &operator=(
const QGeoMapType &other)
noexcept;
74 QT_MOVE_ASSIGNMENT_OPERATOR_IMPL_VIA_MOVE_AND_SWAP(QGeoMapType)
76 void swap(QGeoMapType &other)
noexcept { d_ptr.swap(other.d_ptr); }
78 friend inline bool operator==(
const QGeoMapType &lhs,
const QGeoMapType &rhs)
noexcept
79 {
return lhs.isEqual(rhs); }
80 friend inline bool operator!=(
const QGeoMapType &lhs,
const QGeoMapType &rhs)
noexcept
81 {
return !lhs.isEqual(rhs); }
83 MapStyle style()
const;
85 QString description()
const;
89 QByteArray pluginName()
const;
90 QGeoCameraCapabilities cameraCapabilities()
const;
91 QVariantMap metadata()
const;
94 QSharedDataPointer<QGeoMapTypePrivate> d_ptr;
96 bool isEqual(
const QGeoMapType &other)
const noexcept;