Abstract base class for QgsExternalStorage fetched content.
More...
#include <qgsexternalstorage.h>
|
| void | fetched () |
| | The signal is emitted when the resource has successfully been fetched.
|
| |
| void | canceled () |
| | The signal is emitted when content fetching/storing has been canceled.
|
| |
| void | errorOccurred (const QString &errorString) |
| | The signal is emitted when an error occurred.
|
| |
| void | progressChanged (double progress) |
| | The signal is emitted whenever content fetching/storing estimated progression value progress has changed.
|
| |
|
| virtual void | fetch ()=0 |
| | Starts fetching.
|
| |
| virtual QString | filePath () const =0 |
| | Returns fetched resource file path.
|
| |
| const QString & | errorString () const |
| | Returns error textual description if an error occurred and status() returns Failed.
|
| |
| Qgis::ContentStatus | status () const |
| | Returns content status.
|
| |
|
| virtual void | cancel () |
| | Cancels content fetching/storing.
|
| |
| void | reportError (const QString &errorMsg) |
| | Update content according to given errorMsg error message Inherited classes should call this method whenever they meet an error.
|
| |
| void | setStatus (Qgis::ContentStatus status) |
| | Sets the external storage status.
|
| |
| QString | mErrorString |
| |
Abstract base class for QgsExternalStorage fetched content.
- Since
- QGIS 3.22
Definition at line 176 of file qgsexternalstorage.h.
◆ fetch()
| virtual void QgsExternalStorageFetchedContent::fetch |
( |
| ) |
|
|
pure virtual |
◆ fetched
| void QgsExternalStorageFetchedContent::fetched |
( |
| ) |
|
|
signal |
The signal is emitted when the resource has successfully been fetched.
◆ filePath()
| virtual QString QgsExternalStorageFetchedContent::filePath |
( |
| ) |
const |
|
pure virtual |
Returns fetched resource file path.
The documentation for this class was generated from the following file: