Skip to content
Permalink
Browse files

Update documentation for setCustomProperties

  • Loading branch information
pblottiere committed May 18, 2017
1 parent 6c48ab9 commit 414068101da90844a0c033ba893026c321fa28b8
Showing with 2 additions and 4 deletions.
  1. +1 −2 python/core/qgsmaplayer.sip
  2. +1 −2 src/core/qgsmaplayer.h
@@ -481,8 +481,7 @@ Invoked by QgsProject.read().

void setCustomProperties( const QgsObjectCustomProperties &properties );
%Docstring
Set custom properties for layer.
\param properties The custom properties to set.
Set custom properties for layer. Current properties are dropped.
.. versionadded:: 3.0
%End

@@ -451,8 +451,7 @@ class CORE_EXPORT QgsMapLayer : public QObject
*/
QVariant customProperty( const QString &value, const QVariant &defaultValue = QVariant() ) const;

/** Set custom properties for layer.
* \param properties The custom properties to set.
/** Set custom properties for layer. Current properties are dropped.
* \since QGIS 3.0
*/
void setCustomProperties( const QgsObjectCustomProperties &properties );

0 comments on commit 4140681

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