34 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>)
64 QGeoMapType(
const QGeoMapType &other)
noexcept;
65 QGeoMapType(QGeoMapType &&other)
noexcept =
default;
66 QGeoMapType(MapStyle style,
const QString &name,
const QString &description,
bool mobile,
67 bool night,
int mapId,
const QByteArray &pluginName,
68 const QGeoCameraCapabilities &cameraCapabilities,
69 const QVariantMap &metadata = QVariantMap());
72 QGeoMapType &operator=(
const QGeoMapType &other)
noexcept;
73 QT_MOVE_ASSIGNMENT_OPERATOR_IMPL_VIA_MOVE_AND_SWAP(QGeoMapType)
75 void swap(QGeoMapType &other)
noexcept { d_ptr.swap(other.d_ptr); }
77 friend inline bool operator==(
const QGeoMapType &lhs,
const QGeoMapType &rhs)
noexcept
78 {
return lhs.isEqual(rhs); }
79 friend inline bool operator!=(
const QGeoMapType &lhs,
const QGeoMapType &rhs)
noexcept
80 {
return !lhs.isEqual(rhs); }
82 MapStyle style()
const;
84 QString description()
const;
88 QByteArray pluginName()
const;
89 QGeoCameraCapabilities cameraCapabilities()
const;
90 QVariantMap metadata()
const;
93 QSharedDataPointer<QGeoMapTypePrivate> d_ptr;
95 bool isEqual(
const QGeoMapType &other)
const noexcept;