QGIS API Documentation 3.41.0-Master (cea29feecf2)
Loading...
Searching...
No Matches
Signals | Public Member Functions | List of all members
QgsExternalStorageStoredContent Class Referenceabstract

Class for QgsExternalStorage stored content. More...

#include <qgsexternalstorage.h>

Inheritance diagram for QgsExternalStorageStoredContent:
Inheritance graph
[legend]

Signals

void stored ()
 The signal is emitted when the resource has successfully been stored.
 
- Signals inherited from QgsExternalStorageContent
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.
 

Public Member Functions

virtual void store ()=0
 Starts storing.
 
virtual QString url () const =0
 Returns stored resource URL.
 
- Public Member Functions inherited from QgsExternalStorageContent
const QString & errorString () const
 Returns error textual description if an error occurred and status() returns Failed.
 
Qgis::ContentStatus status () const
 Returns content status.
 

Additional Inherited Members

- Public Slots inherited from QgsExternalStorageContent
virtual void cancel ()
 Cancels content fetching/storing.
 
- 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.
 
void setStatus (Qgis::ContentStatus status)
 Sets the external storage status.
 
- Protected Attributes inherited from QgsExternalStorageContent
QString mErrorString
 

Detailed Description

Class for QgsExternalStorage stored content.

Since
QGIS 3.22

Definition at line 206 of file qgsexternalstorage.h.

Member Function Documentation

◆ store()

virtual void QgsExternalStorageStoredContent::store ( )
pure virtual

Starts storing.

◆ stored

void QgsExternalStorageStoredContent::stored ( )
signal

The signal is emitted when the resource has successfully been stored.

◆ url()

virtual QString QgsExternalStorageStoredContent::url ( ) const
pure virtual

Returns stored resource URL.


The documentation for this class was generated from the following file: