Base class for QgsExternalStorage stored and fetched content.
More...
#include <qgsexternalstorage.h>
|
virtual void | cancel () |
| Cancels content fetching/storing.
|
|
|
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.
|
|
|
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.
|
|
Base class for QgsExternalStorage stored and fetched content.
- Since
- QGIS 3.22
Definition at line 108 of file qgsexternalstorage.h.
◆ cancel
virtual void QgsExternalStorageContent::cancel |
( |
| ) |
|
|
inlinevirtualslot |
◆ canceled
void QgsExternalStorageContent::canceled |
( |
| ) |
|
|
signal |
The signal is emitted when content fetching/storing has been canceled.
◆ errorOccurred
void QgsExternalStorageContent::errorOccurred |
( |
const QString & |
errorString | ) |
|
|
signal |
The signal is emitted when an error occurred.
errorString is a textual description of the error
◆ errorString()
const QString & QgsExternalStorageContent::errorString |
( |
| ) |
const |
◆ progressChanged
void QgsExternalStorageContent::progressChanged |
( |
double |
progress | ) |
|
|
signal |
The signal is emitted whenever content fetching/storing estimated progression value progress has changed.
progress value is between 0 and 100.
◆ reportError()
void QgsExternalStorageContent::reportError |
( |
const QString & |
errorMsg | ) |
|
|
protected |
Update content according to given errorMsg error message Inherited classes should call this method whenever they meet an error.
Definition at line 18 of file qgsexternalstorage.cpp.
◆ setStatus()
◆ status()
◆ mErrorString
QString QgsExternalStorageContent::mErrorString |
|
protected |
The documentation for this class was generated from the following files: