Viadeo Twitter Google Bookmarks ! Facebook Digg del.icio.us MySpace Yahoo MyWeb Blinklist Netvouz Reddit Simpy StumbleUpon Bookmarks Windows Live Favorites 
Logo Documentation Qt ·  Page d'accueil  ·  Toutes les classes  ·  Classes principales  ·  Annotées  ·  Classes groupées  ·  Modules  ·  Fonctions  · 

QPlaceReview Class

The QPlaceReview class represents a review of a place. More...

 #include <QPlaceReview>

Inherits: QPlaceContent.

This class was introduced in Qt Location 5.0.

Public Functions

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

Detailed Description

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.

Member Function Documentation

QPlaceReview::QPlaceReview()

Constructs a new review object.

QPlaceReview::QPlaceReview(const QPlaceContent & other)

Constructs a copy of other, otherwise constructs a default review object.

QPlaceReview::~QPlaceReview() [virtual]

Destroys the review.

QDateTime QPlaceReview::dateTime() const

Returns the date and time that the review was submitted.

See also setDateTime().

QString QPlaceReview::language() const

Returns the language of the review. Typically this would be a language code in the 2 letter ISO 639-1 format.

See also setLanguage().

qreal QPlaceReview::rating() const

Returns this review's rating of the place.

See also setRating().

QString QPlaceReview::reviewId() const

Returns the review's identifier.

See also setReviewId().

void QPlaceReview::setDateTime(const QDateTime & dateTime)

Sets the date and time that the review was submitted to dateTime.

See also dateTime().

void QPlaceReview::setLanguage(const QString & language)

Sets the language of the review. Typically this would be a language code in the 2 letter ISO 639-1 format.

See also language().

void QPlaceReview::setRating(qreal rating)

Sets the review's rating of the place.

See also rating().

void QPlaceReview::setReviewId(const QString & identifier)

Sets the identifier of the review.

See also reviewId().

void QPlaceReview::setText(const QString & text)

Sets text of the review.

See also text().

void QPlaceReview::setTitle(const QString & title)

Sets the title of the review.

See also title().

QString QPlaceReview::text() const

Returns a textual description of the place.

Depending on the provider the text could be rich (HTML based) or plain text.

See also setText().

QString QPlaceReview::title() const

Returns the title of the review.

See also setTitle().

Cette page est une traduction d'une page de la documentation de Qt, écrite par Nokia Corporation and/or its subsidiary(-ies). Les éventuels problèmes résultant d'une mauvaise traduction ne sont pas imputables à Nokia. Qt 5.0-snapshot
Copyright © 2012 Developpez LLC. Tous droits réservés Developpez LLC. Aucune reproduction, même partielle, ne peut être faite de ce site et de l'ensemble de son contenu : textes, documents et images sans l'autorisation expresse de Developpez LLC. Sinon, vous encourez selon la loi jusqu'à 3 ans de prison et jusqu'à 300 000 E de dommages et intérêts. Cette page est déposée à la SACD.
Vous avez déniché une erreur ? Un bug ? Une redirection cassée ? Ou tout autre problème, quel qu'il soit ? Ou bien vous désirez participer à ce projet de traduction ? N'hésitez pas à nous contacter ou par MP !
 
 
 
 
Partenaires

Hébergement Web