QPlaceMatchRequest Class▲
-
Header: QPlaceMatchRequest
-
qmake: QT += location
-
Group: QPlaceMatchRequest is part of QtLocation-places, QtLocation-places-requests
I. Detailed Description▲
Places from another manager that may have corresponding/matching places in the current manager are assigned using setPlaces() or setResults(). A set of further parameters are specified which determines the criteria for matching.
The typical key for matching is the QPlaceMatchRequest::AlternativeId, the value is an alternative identifier attribute type of the format x_id_<provider name> for example x_id_here. The provider name is name supplied to the QGeoServiceProvider instance.
See Matching places between managers for an example on how to use a match request.
I-1. See Also▲
See also QPlaceMatchReply, QPlaceManager
II. Member Function Documentation▲
II-1. QPlaceMatchRequest::QPlaceMatchRequest()▲
Default constructor. Constructs a new request object.
II-2. QPlaceMatchRequest::QPlaceMatchRequest(const QPlaceMatchRequest &other)▲
Constructs a copy of other.
II-3. QPlaceMatchRequest::~QPlaceMatchRequest()▲
Destroys the request object.
II-4. void QPlaceMatchRequest::clear()▲
Clears the match request.
II-5. QVariantMap QPlaceMatchRequest::parameters() const▲
II-6. QList<QPlace> QPlaceMatchRequest::places() const▲
II-7. void QPlaceMatchRequest::setParameters(const QVariantMap ¶meters)▲
II-8. void QPlaceMatchRequest::setPlaces(const QList<QPlace> &places)▲
II-9. void QPlaceMatchRequest::setResults(const QList<QPlaceSearchResult> &results)▲
Convenience function which uses a set of search results to set the places which should be matched.
II-9-1. See Also▲
See also setPlaces()
II-10. QPlaceMatchRequest &QPlaceMatchRequest::operator=(const QPlaceMatchRequest &other)▲
Assigns other to this search request and returns a reference to this match request.
III. Member Variable Documentation▲
III-1. const QString QPlaceMatchRequest::AlternativeId▲
The key to specify that matching is to be accomplished via an alternative place identifier.