diff --git a/python/core/auto_generated/qgsvectorlayer.sip.in b/python/core/auto_generated/qgsvectorlayer.sip.in index 68d33b516c0..1ecbddab415 100644 --- a/python/core/auto_generated/qgsvectorlayer.sip.in +++ b/python/core/auto_generated/qgsvectorlayer.sip.in @@ -1971,21 +1971,29 @@ Returns a map of field name to attribute alias QSet excludeAttributesWms() /Deprecated/ const; %Docstring A set of attributes that are not advertised in WMS requests with QGIS server. + +.. deprecated:: QGIS 3.16 %End void setExcludeAttributesWms( const QSet &att ) /Deprecated/; %Docstring A set of attributes that are not advertised in WMS requests with QGIS server. + +.. deprecated:: QGIS 3.16 %End QSet excludeAttributesWfs() /Deprecated/ const; %Docstring A set of attributes that are not advertised in WFS requests with QGIS server. + +.. deprecated:: QGIS 3.16 %End void setExcludeAttributesWfs( const QSet &att ) /Deprecated/; %Docstring A set of attributes that are not advertised in WFS requests with QGIS server. + +.. deprecated:: QGIS 3.16 %End virtual bool deleteAttribute( int attr ); diff --git a/src/core/qgsvectorlayer.h b/src/core/qgsvectorlayer.h index 3e31bfd06cf..ea3bf5a8681 100644 --- a/src/core/qgsvectorlayer.h +++ b/src/core/qgsvectorlayer.h @@ -1839,21 +1839,25 @@ class CORE_EXPORT QgsVectorLayer : public QgsMapLayer, public QgsExpressionConte /** * A set of attributes that are not advertised in WMS requests with QGIS server. + * \deprecated since QGIS 3.16 */ Q_DECL_DEPRECATED QSet excludeAttributesWms() SIP_DEPRECATED const { return mExcludeAttributesWMS; } /** * A set of attributes that are not advertised in WMS requests with QGIS server. + * \deprecated since QGIS 3.16 */ Q_DECL_DEPRECATED void setExcludeAttributesWms( const QSet &att ) SIP_DEPRECATED { mExcludeAttributesWMS = att; } /** * A set of attributes that are not advertised in WFS requests with QGIS server. + * \deprecated since QGIS 3.16 */ Q_DECL_DEPRECATED QSet excludeAttributesWfs() SIP_DEPRECATED const { return mExcludeAttributesWFS; } /** * A set of attributes that are not advertised in WFS requests with QGIS server. + * \deprecated since QGIS 3.16 */ Q_DECL_DEPRECATED void setExcludeAttributesWfs( const QSet &att ) SIP_DEPRECATED { mExcludeAttributesWFS = att; }