Skip to content
Permalink
Browse files
pure QgsMapRendererJob::startPrivate() ans SIP_ABSTRACT
  • Loading branch information
vcloarec authored and nyalldawson committed May 31, 2021
1 parent d471cc1 commit 0c0a1f81c259050e56f364633b83c9cde29ce659
@@ -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.
@@ -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.
@@ -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:
@@ -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

0 comments on commit 0c0a1f8

Please sign in to comment.