pure QgsMapRendererJob::startPrivate() ans SIP_ABSTRACT

This commit is contained in:
vcloarec 2021-05-30 21:04:23 -04:00 committed by Nyall Dawson
parent d471cc1593
commit 0c0a1f81c2
4 changed files with 8 additions and 8 deletions

View File

@ -9,7 +9,7 @@
class QgsMapRendererAbstractCustomPainterJob : QgsMapRendererJob
class QgsMapRendererAbstractCustomPainterJob : QgsMapRendererJob /Abstract/
{
%Docstring(signature="appended")
Abstract base class for map renderer jobs which use custom painters.

View File

@ -13,7 +13,7 @@
class QgsMapRendererJob : QObject
class QgsMapRendererJob : QObject /Abstract/
{
%Docstring(signature="appended")
Abstract base class for map rendering implementations.
@ -198,7 +198,7 @@ emitted when asynchronous rendering is finished (or canceled).
};
class QgsMapRendererQImageJob : QgsMapRendererJob
class QgsMapRendererQImageJob : QgsMapRendererJob /Abstract/
{
%Docstring(signature="appended")
Intermediate base class adding functionality that allows client to query the rendered image.

View File

@ -28,7 +28,7 @@
*
* \since QGIS 3.10
*/
class CORE_EXPORT QgsMapRendererAbstractCustomPainterJob : public QgsMapRendererJob
class CORE_EXPORT QgsMapRendererAbstractCustomPainterJob : public QgsMapRendererJob SIP_ABSTRACT
{
Q_OBJECT
public:

View File

@ -210,7 +210,7 @@ struct LabelRenderJob
*
* \since QGIS 2.4
*/
class CORE_EXPORT QgsMapRendererJob : public QObject
class CORE_EXPORT QgsMapRendererJob : public QObject SIP_ABSTRACT
{
Q_OBJECT
public:
@ -492,11 +492,11 @@ class CORE_EXPORT QgsMapRendererJob : public QObject
QPainter *allocateImageAndPainter( QString layerId, QImage *&image );
/**
* This virtual method has to be implemented in derived class for starting the rendering.
* This pure virtual method has to be implemented in derived class for starting the rendering.
* This method is called in start() method after ckecking if the map can be rendered.
* \since QGIS 3.20
*/
virtual void startPrivate() {};
virtual void startPrivate() = 0;
};
@ -509,7 +509,7 @@ class CORE_EXPORT QgsMapRendererJob : public QObject
*
* \since QGIS 2.4
*/
class CORE_EXPORT QgsMapRendererQImageJob : public QgsMapRendererJob
class CORE_EXPORT QgsMapRendererQImageJob : public QgsMapRendererJob SIP_ABSTRACT
{
Q_OBJECT