Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qplacesearchreply.h
Go to the documentation of this file.
1// Copyright (C) 2015 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// Qt-Security score:significant reason:default
4
5#ifndef QPLACESEARCHREPLY_H
6#define QPLACESEARCHREPLY_H
7
8#include <QtLocation/QPlaceReply>
9
11
12class QPlaceSearchResult;
13class QPlaceSearchRequest;
14class QPlaceSearchReplyPrivate;
15
16class Q_LOCATION_EXPORT QPlaceSearchReply : public QPlaceReply
17{
18 Q_OBJECT
19public:
20 explicit QPlaceSearchReply(QObject *parent = nullptr);
21 ~QPlaceSearchReply();
22
23 QPlaceReply::Type type() const override;
24
25 QList<QPlaceSearchResult> results() const;
26 QPlaceSearchRequest request() const;
27
28 QPlaceSearchRequest previousPageRequest() const;
29 QPlaceSearchRequest nextPageRequest() const;
30
31protected:
32 void setResults(const QList<QPlaceSearchResult> &results);
33 void setRequest(const QPlaceSearchRequest &request);
34 void setPreviousPageRequest(const QPlaceSearchRequest &previous);
35 void setNextPageRequest(const QPlaceSearchRequest &next);
36
37private:
38 Q_DISABLE_COPY(QPlaceSearchReply)
39 Q_DECLARE_PRIVATE(QPlaceSearchReply)
40};
41
42QT_END_NAMESPACE
43
44#endif
\inmodule QtLocation
Combined button and popup list for selecting options.