Skip to content
Permalink
Browse files

Add missing parameter documentation

  • Loading branch information
dmarteau committed Dec 21, 2019
1 parent 5eaaf73 commit 907b27309cd3ea393cd7a88de4c710abc5df289a
Showing with 4 additions and 4 deletions.
  1. +2 −2 python/core/auto_generated/qgsrelation.sip.in
  2. +2 −2 src/core/qgsrelation.h
@@ -49,13 +49,13 @@ changed.
%End


static QgsRelation createFromXml( const QDomNode &node, QgsReadWriteContext &context, const QgsRelationContext &relcontext = QgsRelationContext() );
static QgsRelation createFromXml( const QDomNode &node, QgsReadWriteContext &context, const QgsRelationContext &relationContext = QgsRelationContext() );
%Docstring
Creates a relation from an XML structure. Used for reading .qgs projects.

:param node: The dom node containing the relation information
:param context: to pass project translator
:param context: a relation context
:param relationContext: a relation context

:return: A relation
%End
@@ -120,11 +120,11 @@ class CORE_EXPORT QgsRelation
*
* \param node The dom node containing the relation information
* \param context to pass project translator
* \param context a relation context
* \param relationContext a relation context
*
* \returns A relation
*/
static QgsRelation createFromXml( const QDomNode &node, QgsReadWriteContext &context, const QgsRelationContext &relcontext = QgsRelationContext() );
static QgsRelation createFromXml( const QDomNode &node, QgsReadWriteContext &context, const QgsRelationContext &relationContext = QgsRelationContext() );

/**
* Writes a relation to an XML structure. Used for saving .qgs projects

0 comments on commit 907b273

Please sign in to comment.
You can’t perform that action at this time.