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
qplacedetailsreplyimpl.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 QPLACEDETAILSREPLYIMPL_H
5#define QPLACEDETAILSREPLYIMPL_H
6
7#include <QtNetwork/QNetworkReply>
8#include <QtLocation/QPlaceDetailsReply>
9
11
12class QPlaceManager;
14
16{
18
19public:
22
23 void setPlaceId(const QString &placeId) { m_placeId = placeId; }
24
25private slots:
26 void setError(QPlaceReply::Error error_, const QString &errorString);
27 void replyFinished();
28 void replyError(QNetworkReply::NetworkError error);
29
30private:
32 QString m_placeId;
33};
34
36
37#endif // QPLACEDETAILSREPLYIMPL_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
QPlaceDetailsReplyImpl(QNetworkReply *reply, QPlaceManagerEngineNokiaV2 *parent)
void setPlaceId(const QString &placeId)
\inmodule QtLocation
\inmodule QtLocation
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.
\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