From 05ad0bc04ab42e5771cd49aead533842a38da030 Mon Sep 17 00:00:00 2001 From: Nyall Dawson Date: Tue, 31 Oct 2017 14:40:07 +1000 Subject: [PATCH] Update API break dox --- doc/api_break.dox | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/doc/api_break.dox b/doc/api_break.dox index 0dfb295e706..8cfd26da0c7 100644 --- a/doc/api_break.dox +++ b/doc/api_break.dox @@ -1379,6 +1379,13 @@ QgsGraduatedSymbolRenderer {#qgis_api_break_3_0_QgsGraduatedSymbolRendere - sizeScaleFieldChanged() and scaleMethodChanged() were removed. These settings are no longer exposed in the widget's GUI. +QgsGraph {#qgis_api_break_3_0_QgsGraph} +-------- + +- addEdge now explicitly takes the fromVertex as first argument, and toVertex as second argument. The original +API design was unclear due to the reversed methods in QgsGraphEdge and QgsGraphVertex. + + QgsGraphBuilderInterface {#qgis_api_break_3_0_QgsGraphBuilderInterface} ------------------------ @@ -1386,6 +1393,20 @@ QgsGraphBuilderInterface {#qgis_api_break_3_0_QgsGraphBuilderInterface} plugins calling this method will need to be updated. +QgsGraphEdge {#qgis_api_break_3_0_QgsGraphEdge} +------------ + +- outVertex() was renamed as toVertex() (yes, the original name was the opposite of the returned value!) +- inVertex() was renamed as fromVertex() (yes, the original name was the opposite of the returned value!) + + +QgsGraphVertex {#qgis_api_break_3_0_QgsGraphVertex} +-------------- + +- outEdges() was renamed as incomingEdges() (yes, the original name was the opposite of the returned value!) +- inEdges() was renamed as outgoingEdges() (yes, the original name was the opposite of the returned value!) + + QgsEditorWidgetRegistry {#qgis_api_break_3_0_QgsEditorWidgetRegistry} ----------------------- @@ -1777,6 +1798,13 @@ QgsNetworkAccessManager {#qgis_api_break_3_0_QgsNetworkAccessManager} - deleteReply() was removed. Use abort() and deleteLayer() on the reply directly. - requestSent signal was removed. This is no longer emitted. + +QgsNetworkStrategy {#qgis_api_break_3_0_QgsNetworkStrategy} +------------------ + +- requiredAttributes() now returns a set of attributes, instead of a list + + QgsNewVectorLayerDialog {#qgis_api_break_3_0_QgsNewVectorLayerDialog} -----------------------