18 this, &QGeoRouteReplyOsm::networkReplyFinished);
20 this, &QGeoRouteReplyOsm::networkReplyError);
29void QGeoRouteReplyOsm::networkReplyFinished()
QGeoRouteReply::Error parseReply(QList< QGeoRoute > &routes, QString &errorString, const QByteArray &reply) const
QGeoRouteReplyOsm(QNetworkReply *reply, const QGeoRouteRequest &request, QObject *parent=nullptr)
QList< QGeoRoute > routes() const
Returns the list of routes which were requested.
Error error() const
Returns the error state of this reply.
void setError(Error error, const QString &errorString)
Sets the error state of this reply to error and the textual representation of the error to errorStrin...
void setRoutes(const QList< QGeoRoute > &routes)
Sets the list of routes in the reply to routes.
QGeoRouteRequest request() const
Returns the route request which specified the route.
QString errorString() const
Returns the textual representation of the error state of this reply.
Error
Describes an error which prevented the completion of the operation.
void setFinished(bool finished)
Sets whether or not this reply has finished to finished.
QByteArray readAll()
Reads all remaining data from the device, and returns it as a byte array.
QString errorString() const
Returns a human-readable description of the last device error that occurred.
QList< T > mid(qsizetype pos, qsizetype len=-1) const
The QNetworkReply class contains the data and headers for a request sent with QNetworkAccessManager.
void errorOccurred(QNetworkReply::NetworkError)
NetworkError error() const
Returns the error that was found during the processing of this request.
virtual void abort()=0
Aborts the operation immediately and close down any network connections still open.
NetworkError
Indicates all possible error conditions found during the processing of the request.
void finished()
This signal is emitted when the reply has finished processing.
QObject * parent() const
Returns a pointer to the parent object.
static QMetaObject::Connection connect(const QObject *sender, const char *signal, const QObject *receiver, const char *member, Qt::ConnectionType=Qt::AutoConnection)
\threadsafe
QObject * sender() const
Returns a pointer to the object that sent the signal, if called in a slot activated by a signal; othe...
void destroyed(QObject *=nullptr)
This signal is emitted immediately before the object obj is destroyed, after any instances of QPointe...
void deleteLater()
\threadsafe
\macro QT_RESTRICTED_CAST_FROM_ASCII
Combined button and popup list for selecting options.
DBusConnection const char DBusError * error
#define QStringLiteral(str)
QNetworkRequest request(url)
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent