Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Update documentation for setCustomProperties
- Loading branch information
Showing
with
2 additions
and
4 deletions.
-
+1
−2
python/core/qgsmaplayer.sip
-
+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 ); |
|
|