Class ProjectSource
#include <projectsource.h>
Inherits the following classes: QObject
Inherited by the following classes: AndroidProjectSource, IosProjectSource
Public Signals
| Type | Name |
|---|---|
| signal void | projectOpened (const QString & path) |
Public Functions
| Type | Name |
|---|---|
| ProjectSource (QObject * parent=nullptr) |
|
| virtual | ~ProjectSource () = default |
Detailed Description
This class represents an ongoing open project intent. It will notify the system with the projectOpened() signal once the user has selected a project to open.
The path can either be a QGIS project file (.qgs, .qgz) or a supported vector/raster dataset. The latter will trigger the creation of a project within which the dataset will be loaded.
The default implementation does nothing. You probably want to have a look at the AndroidProjectSource subclass.
Public Signals Documentation
signal projectOpened
void ProjectSource::projectOpened;
This signal communicates, when a project has been opened.
Public Functions Documentation
function ProjectSource
explicit ProjectSource::ProjectSource (
QObject * parent=nullptr
)
function ~ProjectSource
virtual ProjectSource::~ProjectSource () = default
The documentation for this class was generated from the following file src/core/projectsource.h