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