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
qplacesearchreplymapbox.h
Go to the documentation of this file.
1// Copyright (C) 2017 Mapbox, Inc.
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 QPLACESEARCHREPLYMAPBOX_H
5#define QPLACESEARCHREPLYMAPBOX_H
6
7#include <QtLocation/QPlaceSearchReply>
8#include <QNetworkReply>
9
11
12class QNetworkReply;
14class QPlaceResult;
15
17{
19
20public:
24
25public slots:
26 void setError(QPlaceReply::Error errorCode, const QString &errorString);
27
28private slots:
29 void onReplyFinished();
30 void onNetworkError(QNetworkReply::NetworkError error);
31};
32
34
35#endif // QPLACESEARCHREPLYMAPBOX_H
The QNetworkReply class contains the data and headers for a request sent with QNetworkAccessManager.
NetworkError
Indicates all possible error conditions found during the processing of the request.
QObject * parent() const
Returns a pointer to the parent object.
Definition qobject.h:346
QPlaceReply::Error error() const
Returns the error code.
Error
Describes an error which occurred during an operation.
Definition qplacereply.h:18
QString errorString() const
Returns the error string of the reply.
\inmodule QtLocation
QPlaceSearchReplyMapbox(const QPlaceSearchRequest &request, QNetworkReply *reply, QPlaceManagerEngineMapbox *parent)
void setError(QPlaceReply::Error errorCode, const QString &errorString)
\inmodule QtLocation
QPlaceSearchRequest request() const
Returns the search request that was used to generate this reply.
\inmodule QtLocation
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition qstring.h:129
Combined button and popup list for selecting options.
#define Q_OBJECT
#define slots
QNetworkReply * reply