Skip to content

Commit

Permalink
update api_break.dox
Browse files Browse the repository at this point in the history
  • Loading branch information
vcloarec authored and nyalldawson committed May 31, 2021
1 parent 9fd0e34 commit 9bc6d4d
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion doc/api_break.dox
Expand Up @@ -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}
========
Expand Down

0 comments on commit 9bc6d4d

Please sign in to comment.