QGIS API Documentation 3.28.0-Firenze (ed3ad0430f)
Signals | Public Member Functions | List of all members
QgsExternalStorageFetchedContent Class Referenceabstract

Class for QgsExternalStorage fetched content. More...

#include <qgsexternalstorage.h>

Inheritance diagram for QgsExternalStorageFetchedContent:
Inheritance graph
[legend]

Signals

void fetched ()
 The signal is emitted when the resource has successfully been fetched. More...
 
- Signals inherited from QgsExternalStorageContent
void canceled ()
 The signal is emitted when content fetching/storing has been canceled. More...
 
void errorOccurred (const QString &errorString)
 The signal is emitted when an error occurred. More...
 
void progressChanged (double progress)
 The signal is emitted whenever content fetching/storing estimated progression value progress has changed. More...
 

Public Member Functions

virtual void fetch ()=0
 Starts fetching. More...
 
virtual QString filePath () const =0
 Returns fetched resource file path. More...
 
- Public Member Functions inherited from QgsExternalStorageContent
const QString & errorString () const
 Returns error textual description if an error occurred and status() returns Failed. More...
 
Qgis::ContentStatus status () const
 Returns content status. More...
 

Additional Inherited Members

- Public Slots inherited from QgsExternalStorageContent
virtual void cancel ()
 Cancels content fetching/storing. More...
 
- Protected Member Functions inherited from QgsExternalStorageContent
void reportError (const QString &errorMsg)
 Update content according to given errorMsg error message Inherited classes should call this method whenever they meet an error. More...
 
- Protected Attributes inherited from QgsExternalStorageContent
QString mErrorString
 
Qgis::ContentStatus mStatus = Qgis::ContentStatus::NotStarted
 

Detailed Description

Class for QgsExternalStorage fetched content.

Since
QGIS 3.22

Definition at line 170 of file qgsexternalstorage.h.

Member Function Documentation

◆ fetch()

virtual void QgsExternalStorageFetchedContent::fetch ( )
pure virtual

Starts fetching.

◆ 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: