The QPlaceImage class represents a reference to an image. 更多...
| 头: | #include <QPlaceImage> | 
| qmake: | QT += location | 
| Since: | Qt 5.6 | 
| 继承: | QPlaceContent | 
该类在 Qt 5.6 引入。
| QPlaceImage (const QPlaceContent & other ) | |
| QPlaceImage () | |
| virtual | ~QPlaceImage () | 
| QString | imageId () const | 
| QString | mimeType () const | 
| void | setImageId (const QString & 标识符 ) | 
| 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 .
注意:Place API 只支持图像作为 "仅检索" 对象。向提供者提交图像是不支持用例。
另请参阅 QPlaceContent .
构造副本为 other 若可能的话,否则构造默认图像。
Constructs an new QPlaceImage.
[虚拟]
						
						QPlaceImage::
						
							~QPlaceImage
						
						()
						
					析构函数。
返回图像标识符。
另请参阅 setImageId ().
返回图像的 MIME 类型。
另请参阅 setMimeType ().
设置图像的 标识符 .
另请参阅 imageId ().
设置图像的 MIME type .
另请参阅 mimeType ().
设置图像的 url .
另请参阅 url ().
返回图像的 URL。
另请参阅 setUrl ().