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
qplacecontentreply.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 QPLACECONTENTREPLY_H
5#define QPLACECONTENTREPLY_H
6
7#include <QtLocation/QPlaceReply>
8#include <QtLocation/QPlaceContent>
9
10QT_BEGIN_NAMESPACE
11
12class QPlaceContentRequest;
14class Q_LOCATION_EXPORT QPlaceContentReply : public QPlaceReply
15{
16 Q_OBJECT
17
18public:
19 explicit QPlaceContentReply(QObject *parent = nullptr);
20 virtual ~QPlaceContentReply();
21
22 QPlaceReply::Type type() const override;
23
24 QPlaceContent::Collection content() const;
25
26 int totalCount() const;
27
28 QPlaceContentRequest request() const;
29
30 QPlaceContentRequest previousPageRequest() const;
31 QPlaceContentRequest nextPageRequest() const;
32
33protected:
34 void setContent(const QPlaceContent::Collection &content);
35 void setTotalCount(int total);
36 void setRequest(const QPlaceContentRequest &request);
37 void setPreviousPageRequest(const QPlaceContentRequest &previous);
38 void setNextPageRequest(const QPlaceContentRequest &next);
39
40private:
41 Q_DISABLE_COPY(QPlaceContentReply)
42 Q_DECLARE_PRIVATE(QPlaceContentReply)
43};
44
45QT_END_NAMESPACE
46
47#endif
QPlaceContent::Collection contentCollection
QPlaceContentRequest contentRequest
QPlaceContentRequest nextPageRequest
QPlaceContentRequest previousPageRequest
\inmodule QtLocation