The QPlaceSupplier class represents a supplier of a place or content associated with a place. More...
Header: | #include <QPlaceSupplier> |
qmake: | QT += location |
Since: | Qt 5.6 |
This class was introduced in Qt 5.6.
QPlaceSupplier(const QPlaceSupplier &other) | |
QPlaceSupplier() | |
QPlaceSupplier & | operator=(const QPlaceSupplier &other) |
~QPlaceSupplier() | |
QPlaceIcon | icon() const |
bool | isEmpty() const |
QString | name() const |
void | setIcon(const QPlaceIcon &icon) |
void | setName(const QString &name) |
void | setSupplierId(const QString &identifier) |
void | setUrl(const QUrl &url) |
QString | supplierId() const |
QUrl | url() const |
bool | operator!=(const QPlaceSupplier &other) const |
bool | operator==(const QPlaceSupplier &other) const |
Each instance represents a set of data about a supplier, which can include supplier's name, url and icon. The supplier is typically a business or organization.
Note: The Places API only supports suppliers as 'retrieve-only' objects. Submitting suppliers to a provider is not a supported use case.
Constructs a copy of other.
Constructs a new supplier object.
Assigns other to this supplier and returns a reference to this supplier.
Destroys the supplier object.
Returns the icon of the supplier.
See also setIcon().
Returns true if all fields of the place supplier are 0; otherwise returns false.
Returns the name of the supplier which can be displayed to the user.
The name can potentially be localized. The language is dependent on the entity that sets it, typically this is the QPlaceManager. The QPlaceManager::locales() field defines what language is used.
See also setName().
Sets the icon of the supplier.
See also icon().
Sets the name of the supplier.
See also name().
Sets the identifier of the supplier.
See also supplierId().
Sets the url of the supplier's website.
See also url().
Returns the identifier of the supplier. The identifier is unique to the manager backend which provided the supplier and is generally not suitable for displaying to the user.
See also setSupplierId().
Returns the URL of the supplier's website.
See also setUrl().
Returns true if this supplier is not equal to other, otherwise returns false.
Returns true if this supplier is equal to other, otherwise returns false.
© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-5.15/qplacesupplier.html