Skip to content
Permalink
Browse files
update api_break.dox
  • Loading branch information
vcloarec authored and nyalldawson committed May 31, 2021
1 parent 9fd0e34 commit 9bc6d4df5a60f7cbe3b33c3155aa1311a49695c8
Showing with 8 additions and 1 deletion.
  1. +8 −1 doc/api_break.dox
@@ -19,10 +19,17 @@ This page tries to maintain a list with incompatible changes that happened in pr
QGIS 3.20 {#qgis_api_break_3_20}
=========

QgsMapRendererJob {#qgis_api_break_3_20_qgsmaprendererjob}
-----------------

- QgsMapRendererJob::start is no longer virtual. It has been replaced with QgsMapRendererJob::startPrivate. The method QgsMapRendererJob::start checks if the map can be rendered before calling QgsMapRendererJob::startPrivate.
Subclasses have to implement the virtual method startPrivate to start the rendering of the map. For the actual subclasses (QgsMapRendererParallelJob, QgsMapRendererSequentialJob, ...), the start method
is replaced by startPrivate method without change.

setDataSource {#qgis_api_break_3_20_setdatasource}
-------------

- QgsMapLayer::setDataSource is no longer virtual. If has been replaced with QgsMapLayer::setDataSourcePrivate. This is only relevant for subclassing QgsMapLayer, for code that only uses the subclasses (QgsVectorLayer, QgsRasterLayer, ...) this has no effect.
- QgsMapLayer::setDataSource is no longer virtual. It has been replaced with QgsMapLayer::setDataSourcePrivate. This is only relevant for subclassing QgsMapLayer, for code that only uses the subclasses (QgsVectorLayer, QgsRasterLayer, ...) this has no effect.

QGIS 3.4 {#qgis_api_break_3_4}
========

0 comments on commit 9bc6d4d

Please sign in to comment.