| 
    QGIS API Documentation 3.99.0-Master (f78f5286a64)
    
   | 
 
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)   | |
Public Member Functions | |
| ~QgsTileDownloadManagerReply () | |
| QVariant | attribute (QNetworkRequest::Attribute code) | 
| Returns the attribute associated with the code.   | |
| QByteArray | data () const | 
| Returns binary data returned in the reply (only valid when already finished)   | |
| QNetworkReply::NetworkError | error () const | 
| Returns error code (only valid when already finished)   | |
| QString | errorString () const | 
| Returns error string (only valid when already finished)   | |
| bool | hasFinished () const | 
| Returns whether the reply has already finished (with success/failure)   | |
| QVariant | header (QNetworkRequest::KnownHeaders header) | 
| Returns the value of the known header header.   | |
| const QList< QNetworkReply::RawHeaderPair > | rawHeaderPairs () const | 
| Returns a list of raw header pairs.   | |
| QNetworkRequest | request () const | 
| Returns the original request for this reply object.   | |
| QUrl | url () const | 
| Returns the reply URL.   | |
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 47 of file qgstiledownloadmanager.h.
| QgsTileDownloadManagerReply::~QgsTileDownloadManagerReply | ( | ) | 
Definition at line 423 of file qgstiledownloadmanager.cpp.
| QVariant QgsTileDownloadManagerReply::attribute | ( | QNetworkRequest::Attribute | code | ) | 
Returns the attribute associated with the code.
Definition at line 459 of file qgstiledownloadmanager.cpp.
      
  | 
  inline | 
Returns binary data returned in the reply (only valid when already finished)
Definition at line 56 of file qgstiledownloadmanager.h.
      
  | 
  inline | 
Returns error code (only valid when already finished)
Definition at line 66 of file qgstiledownloadmanager.h.
      
  | 
  inline | 
Returns error string (only valid when already finished)
Definition at line 68 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 54 of file qgstiledownloadmanager.h.
| QVariant QgsTileDownloadManagerReply::header | ( | QNetworkRequest::KnownHeaders | header | ) | 
Returns the value of the known header header.
Definition at line 464 of file qgstiledownloadmanager.cpp.
      
  | 
  inline | 
Returns a list of raw header pairs.
Definition at line 64 of file qgstiledownloadmanager.h.
      
  | 
  inline | 
Returns the original request for this reply object.
Definition at line 70 of file qgstiledownloadmanager.h.
      
  | 
  inline | 
Returns the reply URL.
Definition at line 58 of file qgstiledownloadmanager.h.
      
  | 
  friend | 
Definition at line 83 of file qgstiledownloadmanager.h.