Skip to content

Class QfProjectSource

ClassList > QfProjectSource

More...

  • #include <qfprojectsource.h>

Inherits the following classes: QObject

Inherited by the following classes: QfAndroidProjectSource, QfIosProjectSource

Public Signals

Type Name
signal void projectOpened (const QString & path)

Public Functions

Type Name
QfProjectSource (QObject * parent=nullptr)
virtual ~QfProjectSource () = 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 QfAndroidProjectSource subclass.

Public Signals Documentation

signal projectOpened

void QfProjectSource::projectOpened;

This signal communicates, when a project has been opened.


Public Functions Documentation

function QfProjectSource

explicit QfProjectSource::QfProjectSource (
    QObject * parent=nullptr
) 

function ~QfProjectSource

virtual QfProjectSource::~QfProjectSource () = default


The documentation for this class was generated from the following file src/core/qfprojectsource.h