Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qplacematchreply.cpp
Go to the documentation of this file.
1// Copyright (C) 2022 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#include "qplacematchreply.h"
5#include "qplacereply_p.h"
6#include "qplace.h"
8
9
12{
13public:
14 QList<QPlace> places;
16};
17
19
21
53
60
68
72QList<QPlace> QPlaceMatchReply::places() const
73{
74 Q_D(const QPlaceMatchReply);
75 return d->places;
76}
77
81void QPlaceMatchReply::setPlaces(const QList<QPlace> &places)
82{
84 d->places = places;
85}
86
91{
92 Q_D(const QPlaceMatchReply);
93 return d->request;
94}
95
100{
101 Q_D(QPlaceMatchReply);
102 d->request = request;
103}
\inmodule QtCore
Definition qobject.h:103
QPlaceMatchRequest request
\inmodule QtLocation
QList< QPlace > places() const
Returns a list of matching places;.
void setRequest(const QPlaceMatchRequest &request)
Sets the match request used to generate this reply.
QPlaceMatchReply(QObject *parent=nullptr)
Constructs a match reply with a given parent.
QPlaceMatchRequest request() const
Returns the match request that was used to generate this reply.
~QPlaceMatchReply()
Destroys the match reply.
QPlaceReply::Type type() const override
Returns the type of reply.
void setPlaces(const QList< QPlace > &results)
Sets the list of matching places.
\inmodule QtLocation
\inmodule QtLocation
Definition qplacereply.h:15
Type
Describes the reply's type.
Definition qplacereply.h:31
Combined button and popup list for selecting options.
QNetworkRequest request(url)