23 QML_VALUE_TYPE(supplier)
26 Q_PROPERTY(QString name READ name WRITE setName)
27 Q_PROPERTY(QString supplierId READ supplierId WRITE setSupplierId)
28 Q_PROPERTY(QUrl url READ url WRITE setUrl)
29 Q_PROPERTY(QPlaceIcon icon READ icon WRITE setIcon)
33 QPlaceSupplier(
const QPlaceSupplier &other)
noexcept;
34 QPlaceSupplier(QPlaceSupplier &&other)
noexcept =
default;
37 QPlaceSupplier &operator=(
const QPlaceSupplier &other)
noexcept;
38 QT_MOVE_ASSIGNMENT_OPERATOR_IMPL_VIA_MOVE_AND_SWAP(QPlaceSupplier)
40 void swap(QPlaceSupplier &other)
noexcept { d.swap(other.d); }
42 friend inline bool operator==(
const QPlaceSupplier &lhs,
43 const QPlaceSupplier &rhs)
noexcept
44 {
return lhs.isEqual(rhs); }
45 friend inline bool operator!=(
const QPlaceSupplier &lhs,
46 const QPlaceSupplier &rhs)
noexcept
47 {
return !lhs.isEqual(rhs); }
50 void setName(
const QString &data);
52 QString supplierId()
const;
53 void setSupplierId(
const QString &identifier);
56 void setUrl(
const QUrl &data);
58 QPlaceIcon icon()
const;
59 void setIcon(
const QPlaceIcon &icon);
64 QSharedDataPointer<QPlaceSupplierPrivate> d;
66 bool isEqual(
const QPlaceSupplier &other)
const noexcept;