22 QML_VALUE_TYPE(supplier)
25 Q_PROPERTY(QString name READ name WRITE setName)
26 Q_PROPERTY(QString supplierId READ supplierId WRITE setSupplierId)
27 Q_PROPERTY(QUrl url READ url WRITE setUrl)
28 Q_PROPERTY(QPlaceIcon icon READ icon WRITE setIcon)
32 QPlaceSupplier(
const QPlaceSupplier &other)
noexcept;
33 QPlaceSupplier(QPlaceSupplier &&other)
noexcept =
default;
36 QPlaceSupplier &operator=(
const QPlaceSupplier &other)
noexcept;
37 QT_MOVE_ASSIGNMENT_OPERATOR_IMPL_VIA_MOVE_AND_SWAP(QPlaceSupplier)
39 void swap(QPlaceSupplier &other)
noexcept { d.swap(other.d); }
41 friend inline bool operator==(
const QPlaceSupplier &lhs,
42 const QPlaceSupplier &rhs)
noexcept
43 {
return lhs.isEqual(rhs); }
44 friend inline bool operator!=(
const QPlaceSupplier &lhs,
45 const QPlaceSupplier &rhs)
noexcept
46 {
return !lhs.isEqual(rhs); }
49 void setName(
const QString &data);
51 QString supplierId()
const;
52 void setSupplierId(
const QString &identifier);
55 void setUrl(
const QUrl &data);
57 QPlaceIcon icon()
const;
58 void setIcon(
const QPlaceIcon &icon);
63 QSharedDataPointer<QPlaceSupplierPrivate> d;
65 bool isEqual(
const QPlaceSupplier &other)
const noexcept;