Skip to content
Permalink
Browse files

Add missing parameter documentation

  • Loading branch information
dmarteau authored and rldhont committed Dec 21, 2019
1 parent a2fa196 commit a25a1e80d60f6172dd519cf1e60d99bf9d22b7fd
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 a25a1e8

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