QGIS/python/core/auto_generated/qgsrelationcontext.sip.in
David Marteau 5bf8d2cd26
Pass project when creating relation from Xml
Fix dependency inconsistency to project from QgsRelationManager
    by forcing  'QgsRelation::createFromXml' to rely on project passed
    to 'QgsRelationManager' instead of using 'QgisProject::instance()'
2019-12-20 23:56:17 +01:00

57 lines
1.6 KiB
Plaintext

/************************************************************************
* This file has been generated automatically from *
* *
* src/core/qgsrelationcontext.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
class QgsRelationContext
{
%Docstring
Context for relations. Used to resolve layers from projects.
.. versionadded:: 3.11
%End
%TypeHeaderCode
#include "qgsrelationcontext.h"
%End
public:
QgsRelationContext( QgsProject *project = 0 );
%Docstring
Constructor for QgsRelationContext.
%End
const QgsProject *project() const;
%Docstring
Gets the associated project
If there is no associated project, then it will return the global
project instance
%End
~QgsRelationContext();
QgsRelationContext( const QgsRelationContext &other );
%Docstring
Copy constructor
%End
};
/************************************************************************
* This file has been generated automatically from *
* *
* src/core/qgsrelationcontext.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/