Skip to content

Commit

Permalink
add deprecated dox
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Sep 14, 2020
1 parent de4a293 commit b923c4a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
8 changes: 8 additions & 0 deletions python/core/auto_generated/qgsvectorlayer.sip.in
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
Expand Down
4 changes: 4 additions & 0 deletions src/core/qgsvectorlayer.h
Original file line number Diff line number Diff line change
Expand Up @@ -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; }

Expand Down

0 comments on commit b923c4a

Please sign in to comment.