Skip to content
Permalink
Browse files

deprecate QgsEditFormConfig::attributeEditorElementFromDomElement

  • Loading branch information
3nids committed Jan 11, 2021
1 parent 3f717cb commit a6aecf5ff5da76f5d306ad98495e253f8f2e5159
Showing with 6 additions and 2 deletions.
  1. +4 −1 python/core/auto_generated/qgseditformconfig.sip.in
  2. +2 −1 src/core/qgseditformconfig.h
@@ -276,9 +276,12 @@ Write XML information
Serialize on project save
%End

QgsAttributeEditorElement *attributeEditorElementFromDomElement( QDomElement &elem, QgsAttributeEditorElement *parent, const QString &layerId = QString(), const QgsReadWriteContext &context = QgsReadWriteContext() );
QgsAttributeEditorElement *attributeEditorElementFromDomElement( QDomElement &elem, QgsAttributeEditorElement *parent, const QString &layerId = QString(), const QgsReadWriteContext &context = QgsReadWriteContext() ) /Deprecated/;
%Docstring
Deserialize drag and drop designer elements.

.. deprecated:: QGIS 3.18
use QgsAttributeEditorElement.create instead
%End

explicit QgsEditFormConfig();
@@ -308,8 +308,9 @@ class CORE_EXPORT QgsEditFormConfig

/**
* Deserialize drag and drop designer elements.
* \deprecated since QGIS 3.18 use QgsAttributeEditorElement::create instead
*/
QgsAttributeEditorElement *attributeEditorElementFromDomElement( QDomElement &elem, QgsAttributeEditorElement *parent, const QString &layerId = QString(), const QgsReadWriteContext &context = QgsReadWriteContext() );
Q_DECL_DEPRECATED QgsAttributeEditorElement *attributeEditorElementFromDomElement( QDomElement &elem, QgsAttributeEditorElement *parent, const QString &layerId = QString(), const QgsReadWriteContext &context = QgsReadWriteContext() ) SIP_DEPRECATED;

/**
* Create a new edit form config. Normally invoked by QgsVectorLayer

0 comments on commit a6aecf5

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