QGIS API Documentation
3.20.0-Odense (decaadbb31)
|
Reply object for tile download manager requests returned from calls to QgsTileDownloadManager::get(). More...
#include <qgstiledownloadmanager.h>
Signals | |
void | finished () |
Emitted when the reply has finished (either with a success or with a failure) More... | |
Public Member Functions | |
~QgsTileDownloadManagerReply () | |
QByteArray | data () const |
Returns binary data returned in the reply (only valid when already finished) More... | |
QNetworkReply::NetworkError | error () const |
Returns error code (only valid when already finished) More... | |
QString | errorString () const |
Returns error string (only valid when already finished) More... | |
bool | hasFinished () const |
Returns whether the reply has already finished (with success/failure) More... | |
QNetworkRequest | request () const |
Returns the original request for this reply object. More... | |
Friends | |
class | QgsTileDownloadManager |
Reply object for tile download manager requests returned from calls to QgsTileDownloadManager::get().
When the underlying network request has finished (with success or failure), the finished() signal gets emitted.
It is OK to delete this object before the request has finished - the request will not be aborted, the download manager will finish the download (as it may be needed soon afterwards).
Definition at line 46 of file qgstiledownloadmanager.h.
QgsTileDownloadManagerReply::~QgsTileDownloadManagerReply | ( | ) |
Definition at line 327 of file qgstiledownloadmanager.cpp.
|
inline |
Returns binary data returned in the reply (only valid when already finished)
Definition at line 55 of file qgstiledownloadmanager.h.
|
inline |
Returns error code (only valid when already finished)
Definition at line 57 of file qgstiledownloadmanager.h.
|
inline |
Returns error string (only valid when already finished)
Definition at line 59 of file qgstiledownloadmanager.h.
|
signal |
Emitted when the reply has finished (either with a success or with a failure)
|
inline |
Returns whether the reply has already finished (with success/failure)
Definition at line 53 of file qgstiledownloadmanager.h.
|
inline |
Returns the original request for this reply object.
Definition at line 62 of file qgstiledownloadmanager.h.
|
friend |
Definition at line 74 of file qgstiledownloadmanager.h.