Skip to content
Permalink
Browse files

add deprecated dox

  • Loading branch information
3nids committed Sep 14, 2020
1 parent de4a293 commit b923c4a19f87b2b6335094fec095dfa895ada036
Showing with 12 additions and 0 deletions.
  1. +8 −0 python/core/auto_generated/qgsvectorlayer.sip.in
  2. +4 −0 src/core/qgsvectorlayer.h
@@ -1971,21 +1971,29 @@ Returns a map of field name to attribute alias
QSet<QString> 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<QString> &att ) /Deprecated/;
%Docstring
A set of attributes that are not advertised in WMS requests with QGIS server.

.. deprecated:: QGIS 3.16
%End

QSet<QString> 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<QString> &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 );
@@ -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<QString> 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<QString> &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<QString> 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<QString> &att ) SIP_DEPRECATED { mExcludeAttributesWFS = att; }

0 comments on commit b923c4a

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