From 961b63f292de449dc638d1b5ec0fd16b28811c1c Mon Sep 17 00:00:00 2001 From: Nyall Dawson Date: Wed, 26 Oct 2016 11:11:14 +1000 Subject: [PATCH] Update API break docs --- doc/api_break.dox | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/doc/api_break.dox b/doc/api_break.dox index c153211f743..22b66567c6d 100644 --- a/doc/api_break.dox +++ b/doc/api_break.dox @@ -736,10 +736,9 @@ QgsEditFormConfig {#qgis_api_break_3_0_QgsEditFormConfig} - widgetType() and widgetConfig() now reflect only the user configured values. QgsEditorWidgetRegistry::instance()->findBest() must be used instead. - widgetType(), widgetConfig(), setWidgetType(), setWidgetConfig() and removeWidgetConfig() now only take a string as first parameter. Access by index has been removed. -- expression() has been renamed to constraintExpression() -- setExpression() has been renamed to setConstraintExpression() -- expressionDescription() has been renamed to constraintDescription() -- setExpressionDesctiption() has been renamed to setConstraintDescription() +- expression(), setExpression(), expressionDescription() and setExpressionDescription() +have been removed. Use QgsVectorLayer.setConstraintExpression()/constraintExpression(), +or QgsField.constraintExpression()/QgsField.constraintDescription() instead. - notNull() and setNotNull() have been removed. Use QgsVectorLayer.setFieldConstraints()/fieldConstraints(), or QgsField.constraints() instead. QgsExpression {#qgis_api_break_3_0_QgsExpression}