The QPlaceImage class represents a reference to an image. More...
Header: | #include <QPlaceImage> |
qmake: | QT += location |
Since: | Qt 5.6 |
Inherits: | QPlaceContent |
This class was introduced in Qt 5.6.
QPlaceImage(const QPlaceContent &other) | |
QPlaceImage() | |
virtual | ~QPlaceImage() |
QString | imageId() const |
QString | mimeType() const |
void | setImageId(const QString &identifier) |
void | setMimeType(const QString &type) |
void | setUrl(const QUrl &url) |
QUrl | url() const |
Each QPlaceImage represents a set of metadata about an image such as it's url, identifier and MIME type. These are properties in addition to those provided by QPlaceContent.
Note: The Places API only supports images as 'retrieve-only' objects. Submitting images to a provider is not a supported use case.
See also QPlaceContent.
Constructs a copy of other if possible, otherwise constructs a default image.
Constructs an new QPlaceImage.
[virtual]
QPlaceImage::~QPlaceImage()
Destructor.
Returns the image's identifier.
See also setImageId().
Returns the image's MIME type.
See also setMimeType().
Sets image's identifier.
See also imageId().
Sets image's MIME type.
See also mimeType().
Sets the image's url.
See also url().
Returns the image's url.
See also setUrl().
© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-5.15/qplaceimage.html