Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
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
11
14class Q_LOCATION_EXPORT QPlaceContentReply : public QPlaceReply
15{
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
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
46
47#endif
\inmodule QtCore
Definition qobject.h:103
\inmodule QtLocation
\inmodule QtLocation
\inmodule QtLocation
Definition qplacereply.h:15
Type
Describes the reply's type.
Definition qplacereply.h:31
short next
Definition keywords.cpp:445
Combined button and popup list for selecting options.
GLenum type
#define Q_OBJECT
QNetworkRequest request(url)