ReviewModel QML Type
|Import Statement:||import QtLocation 5.3|
|Since:||Qt Location 5.5|
The ReviewModel is a read-only model used to fetch reviews about a Place. The model incrementally fetches. The number of reviews which are fetched at a time is specified by the batchSize property. The total number of reviews available can be accessed via the totalCount property.
The model returns data for the following roles:
|dateTime||datetime||The date and time that the review was posted.|
|text||string||The review's textual description of the place. It can be either rich (HTML based) text or plain text depending on the provider.|
|language||string||The language that the review is written in.|
|rating||real||The rating that the reviewer gave to the place.|
|reviewId||string||The identifier of the review.|
|title||string||The title of the review.|
|supplier||Supplier||The supplier of the review.|
|user||User||The user who contributed the review.|
|attribution||string||Attribution text which must be displayed when displaying the review.|
place : Place
This property holds the Place that the reviews are for.
© 2018 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.