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
4#ifndef QPLACESEARCHREPLY_H
5#define QPLACESEARCHREPLY_H
6
7#include <QtLocation/QPlaceReply>
8
10
11class QPlaceSearchResult;
12class QPlaceSearchRequest;
13class QPlaceSearchReplyPrivate;
14
15class Q_LOCATION_EXPORT QPlaceSearchReply : public QPlaceReply
16{
17 Q_OBJECT
18public:
19 explicit QPlaceSearchReply(QObject *parent = nullptr);
20 ~QPlaceSearchReply();
21
22 QPlaceReply::Type type() const override;
23
24 QList<QPlaceSearchResult> results() const;
25 QPlaceSearchRequest request() const;
26
27 QPlaceSearchRequest previousPageRequest() const;
28 QPlaceSearchRequest nextPageRequest() const;
29
30protected:
31 void setResults(const QList<QPlaceSearchResult> &results);
32 void setRequest(const QPlaceSearchRequest &request);
33 void setPreviousPageRequest(const QPlaceSearchRequest &previous);
34 void setNextPageRequest(const QPlaceSearchRequest &next);
35
36private:
37 Q_DISABLE_COPY(QPlaceSearchReply)
38 Q_DECLARE_PRIVATE(QPlaceSearchReply)
39};
40
41QT_END_NAMESPACE
42
43#endif
\inmodule QtLocation
Combined button and popup list for selecting options.