add deprecated dox

This commit is contained in:
Denis Rouzaud 2020-09-14 11:40:37 +02:00
parent de4a293ec5
commit b923c4a19f
2 changed files with 12 additions and 0 deletions

View File

@ -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 );

View File

@ -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; }