const QgsProject * project() const
Gets the associated project.
QgsRelationContext & operator=(const QgsRelationContext &other)
Assignment operator.
Encapsulates a QGIS project, including sets of map layers and their styles, layouts, annotations, canvases, etc.
QgsRelationContext(QgsProject *project=nullptr)
Constructor for QgsRelationContext.