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  · 

QPlaceMatchReply Class

The QPlaceMatchReply class manages a place matching operation started by an instance of QPlaceManager. More...

 #include <QPlaceMatchReply>

Inherits: QPlaceReply.

This class was introduced in Qt Location 5.0.

Public Functions

QPlaceMatchReply(QObject * parent = 0)
~QPlaceMatchReply()
QList<QPlace> places() const
QPlaceMatchRequest request() const

Reimplemented Public Functions

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

Protected Functions

void setPlaces(const QList<QPlace> & places)
void setRequest(const QPlaceMatchRequest & request)
  • 2 protected functions inherited from QPlaceReply
  • 9 protected functions inherited from QObject

Additional Inherited Members

Detailed Description

The QPlaceMatchReply class manages a place matching operation started by an instance of QPlaceManager.

If the operation is successful, the number of places in the reply matches those in the request. If a particular place in the request is not found, a default constructed place is used as a place holder in the reply. In this way, there is always a one is to one relationship between input places in the request, and output places in the reply.

If the operation is not successful the number of places is always zero.

See Matching places between managers for an example on how to use a match reply.

See also QPlaceMatchRequest and QPlaceManager.

Member Function Documentation

QPlaceMatchReply::QPlaceMatchReply(QObject * parent = 0)

Constructs a match reply with a given parent.

QPlaceMatchReply::~QPlaceMatchReply()

Destroys the match reply.

QList<QPlace> QPlaceMatchReply::places() const

Returns a list of matching places;

See also setPlaces().

QPlaceMatchRequest QPlaceMatchReply::request() const

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

See also setRequest().

void QPlaceMatchReply::setPlaces(const QList<QPlace> & places) [protected]

Sets the list of matching places.

See also places().

void QPlaceMatchReply::setRequest(const QPlaceMatchRequest & request) [protected]

Sets the match request used to generate this reply.

See also request().

QPlaceReply::Type QPlaceMatchReply::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