virtual QgsExternalStorageFetchedContent * doFetch(const QString &url, const QString &authCfg=QString()) const =0
Fetches file from url using authCfg for this project external storage.
 
Class for QgsExternalStorage fetched content.
 
QgsExternalStorageStoredContent * store(const QString &filePath, const QString &url, const QString &authCfg=QString(), Qgis::ActionStart storingMode=Qgis::ActionStart::Deferred) const
Stores file filePath to the url for this project external storage.
 
virtual QgsExternalStorageStoredContent * doStore(const QString &filePath, const QString &url, const QString &authCfg=QString()) const =0
Stores file filePath to the url using authCfg authentication for this project external storage.
 
Qgis::ContentStatus mStatus
 
Class for QgsExternalStorage stored content.
 
void reportError(const QString &errorMsg)
Update content according to given errorMsg error message Inherited classes should call this method wh...
 
void errorOccurred(const QString &errorString)
The signal is emitted when an error occurred.
 
QgsExternalStorageFetchedContent * fetch(const QString &url, const QString &authCfg=QString(), Qgis::ActionStart fetchingMode=Qgis::ActionStart::Deferred) const
Fetches file from url for this project external storage.
 
const QString & errorString() const
Returns error textual description if an error occurred and status() returns Failed.
 
Qgis::ContentStatus status() const
Returns content status.