diff --git a/python/gui/qgsattributeform.sip.in b/python/gui/qgsattributeform.sip.in index 45deba11a31..e5a2dcf2eae 100644 --- a/python/gui/qgsattributeform.sip.in +++ b/python/gui/qgsattributeform.sip.in @@ -139,7 +139,7 @@ on all attribute widgets. signals: - void attributeChanged( const QString &attribute, const QVariant &value ); + void attributeChanged( const QString &attribute, const QVariant &value ) /Deprecated/; %Docstring Notifies about changes of attributes diff --git a/src/gui/qgsattributeform.h b/src/gui/qgsattributeform.h index 41f16cd8614..f0c7b87477c 100644 --- a/src/gui/qgsattributeform.h +++ b/src/gui/qgsattributeform.h @@ -180,7 +180,7 @@ class GUI_EXPORT QgsAttributeForm : public QWidget * \param value The new value of the attribute. * \deprecated since 3.0 */ - Q_DECL_DEPRECATED void attributeChanged( const QString &attribute, const QVariant &value ); + Q_DECL_DEPRECATED void attributeChanged( const QString &attribute, const QVariant &value ) SIP_DEPRECATED; /** * Notifies about changes of attributes