Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qplacesearchsuggestionreplymapbox.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 QPLACESEARCHSUGGESTIONREPLYMAPBOX_H
5#define QPLACESEARCHSUGGESTIONREPLYMAPBOX_H
6
7#include <QtLocation/QPlaceSearchSuggestionReply>
8#include <QNetworkReply>
9
11
12class QNetworkReply;
14class QPlaceResult;
15
17{
19
20public:
23
24public slots:
25 void setError(QPlaceReply::Error errorCode, const QString &errorString);
26
27private slots:
28 void onReplyFinished();
29 void onNetworkError(QNetworkReply::NetworkError error);
30};
31
33
34#endif // QPLACESEARCHSUGGESTIONREPLYMAPBOX_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:311
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
void setError(QPlaceReply::Error errorCode, const QString &errorString)
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition qstring.h:127
Combined button and popup list for selecting options.
#define Q_OBJECT
#define slots
QNetworkReply * reply