diff --git a/python/gui/qgsattributedialog.sip b/python/gui/qgsattributedialog.sip index ee7ebed39fc..60307908492 100644 --- a/python/gui/qgsattributedialog.sip +++ b/python/gui/qgsattributedialog.sip @@ -48,7 +48,16 @@ class QgsAttributeDialog : QDialog */ void setHighlight( QgsHighlight *h ); - QDialog *dialog(); + /** + * @brief Returns reference to self. Only here for legacy compliance + * + * @return this + * + * @deprecated Do not use. Just use this object itself. Or QgsAttributeForm if you want to embed. + */ + QDialog *dialog() /Deprecated/; + + QgsAttributeForm *attributeForm(); const QgsFeature* feature();