The QPlaceReview class represents a review of a place. More...
Header: | #include <QPlaceReview> |
qmake: | QT += location |
Since: | Qt 5.6 |
Inherits: | QPlaceContent |
QPlaceReview() | |
QPlaceReview(const QPlaceContent &other) | |
virtual | ~QPlaceReview() |
QDateTime | dateTime() const |
QString | language() const |
qreal | rating() const |
QString | reviewId() const |
void | setDateTime(const QDateTime &dateTime) |
void | setLanguage(const QString &language) |
void | setRating(qreal rating) |
void | setReviewId(const QString &identifier) |
void | setText(const QString &text) |
void | setTitle(const QString &title) |
QString | text() const |
QString | title() const |
The QPlaceReview class represents a review of a place.
Each QPlaceReview has a number of properties such as a title, text, date of submission and rating; in addition to those properties inherited from QPlaceContent.
Note: The Places API only supports reviews as 'retrieve-only' objects. Submitting reviews to a provider is not a supported use case.
See also QPlaceContent and QPlaceEditorial.
Constructs a new review object.
Constructs a copy of other, otherwise constructs a default review object.
[virtual]
QPlaceReview::~QPlaceReview()Destroys the review.
Returns the date and time that the review was submitted.
See also setDateTime().
Returns the language of the review. Typically this would be a language code in the 2 letter ISO 639-1 format.
See also setLanguage().
Returns this review's rating of the place.
See also setRating().
Returns the review's identifier.
See also setReviewId().
Sets the date and time that the review was submitted to dateTime.
See also dateTime().
Sets the language of the review. Typically this would be a language code in the 2 letter ISO 639-1 format.
See also language().
Sets the review's rating of the place.
See also rating().
Sets the identifier of the review.
See also reviewId().
Sets text of the review.
See also text().
Sets the title of the review.
See also title().
Returns a textual description of the place.
Depending on the provider the text could be rich (HTML based) or plain text.
See also setText().
Returns the title of the review.
See also setTitle().