blob: a01b7a0ccfb2393f7399ff874892d874cffcbd94 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
// Copyright (C) 2015 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
#ifndef QPLACESEARCHREPLY_H
#define QPLACESEARCHREPLY_H
#include <QtLocation/QPlaceReply>
QT_BEGIN_NAMESPACE
class QPlaceSearchResult;
class QPlaceSearchRequest;
class QPlaceSearchReplyPrivate;
class Q_LOCATION_EXPORT QPlaceSearchReply : public QPlaceReply
{
Q_OBJECT
public:
explicit QPlaceSearchReply(QObject *parent = nullptr);
~QPlaceSearchReply();
QPlaceReply::Type type() const override;
QList<QPlaceSearchResult> results() const;
QPlaceSearchRequest request() const;
QPlaceSearchRequest previousPageRequest() const;
QPlaceSearchRequest nextPageRequest() const;
protected:
void setResults(const QList<QPlaceSearchResult> &results);
void setRequest(const QPlaceSearchRequest &request);
void setPreviousPageRequest(const QPlaceSearchRequest &previous);
void setNextPageRequest(const QPlaceSearchRequest &next);
private:
Q_DISABLE_COPY(QPlaceSearchReply)
Q_DECLARE_PRIVATE(QPlaceSearchReply)
};
QT_END_NAMESPACE
#endif
|