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  · 

QPlaceContentReply Class

The QPlaceContentReply class manages a content retrieval operation started by an instance of QPlaceManager. More...

 #include <QPlaceContentReply>

Inherits: QPlaceReply.

This class was introduced in Qt Location 5.0.

Public Functions

QPlaceContentReply(QObject * parent = 0)
virtual ~QPlaceContentReply()
QPlaceContent::Collection content() const
QPlaceContentRequest request() const
int totalCount() const

Reimplemented Public Functions

virtual QPlaceReply::Type type() const
  • 4 public functions inherited from QPlaceReply
  • 31 public functions inherited from QObject

Protected Functions

void setContent(const QPlaceContent::Collection & content)
void setRequest(const QPlaceContentRequest & request)
void setTotalCount(int total)
  • 2 protected functions inherited from QPlaceReply
  • 9 protected functions inherited from QObject

Additional Inherited Members

Detailed Description

The QPlaceContentReply class manages a content retrieval operation started by an instance of QPlaceManager.

See Fetching Rich Content for an example on how to use a content reply.

See also QPlaceContentRequest and QPlaceManager.

Member Function Documentation

QPlaceContentReply::QPlaceContentReply(QObject * parent = 0)

Constructs a content reply with a given parent.

QPlaceContentReply::~QPlaceContentReply() [virtual]

Destroys the reply.

QPlaceContent::Collection QPlaceContentReply::content() const

Returns the collection of content retrieved.

See also setContent().

QPlaceContentRequest QPlaceContentReply::request() const

Returns the content request that was used to generate this reply.

See also setRequest().

void QPlaceContentReply::setContent(const QPlaceContent::Collection & content) [protected]

Sets the content of the reply.

See also content().

void QPlaceContentReply::setRequest(const QPlaceContentRequest & request) [protected]

Sets the content request used to generate this this reply.

See also request().

void QPlaceContentReply::setTotalCount(int total) [protected]

Sets the total number of content objects for a place.

See also totalCount().

int QPlaceContentReply::totalCount() const

Returns the total number of content objects for a place. If the total number of content objects cannot be counted, a value of -1 is returned. This count only refers to the total count for a single content type, that is, the content type that was specified when content was requested with the QPlaceManager.

See also setTotalCount().

QPlaceReply::Type QPlaceContentReply::type() const [virtual]

Reimplemented from QPlaceReply::type().

Returns the type of reply.

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