Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
effects: mark assignment operator as deleted due to existence of copy…
… constructor
  • Loading branch information
rouault committed Jun 1, 2020
1 parent 98d7b99 commit 6fd336c
Show file tree
Hide file tree
Showing 12 changed files with 20 additions and 18 deletions.
2 changes: 1 addition & 1 deletion python/core/auto_generated/effects/qgsblureffect.sip.in
Expand Up @@ -9,7 +9,7 @@



class QgsBlurEffect : QgsPaintEffect
class QgsBlurEffect : QgsPaintEffect /NoDefaultCtors/
{
%Docstring
A paint effect which blurs a source picture, using a number of different blur
Expand Down
2 changes: 1 addition & 1 deletion python/core/auto_generated/effects/qgscoloreffect.sip.in
Expand Up @@ -9,7 +9,7 @@



class QgsColorEffect : QgsPaintEffect
class QgsColorEffect : QgsPaintEffect /NoDefaultCtors/
{
%Docstring
A paint effect which alters the colors (e.g., brightness, contrast) in a
Expand Down
2 changes: 1 addition & 1 deletion python/core/auto_generated/effects/qgseffectstack.sip.in
Expand Up @@ -9,7 +9,7 @@



class QgsEffectStack : QgsPaintEffect
class QgsEffectStack : QgsPaintEffect /NoDefaultCtors/
{
%Docstring
A paint effect which consists of a stack of other chained paint effects
Expand Down
4 changes: 2 additions & 2 deletions python/core/auto_generated/effects/qgspainteffect.sip.in
Expand Up @@ -10,7 +10,7 @@



class QgsPaintEffect
class QgsPaintEffect /NoDefaultCtors/
{
%Docstring
Base class for visual effects which can be applied to QPicture drawings
Expand Down Expand Up @@ -319,7 +319,7 @@ to rendering results onto a painter.
};


class QgsDrawSourceEffect : QgsPaintEffect
class QgsDrawSourceEffect : QgsPaintEffect /NoDefaultCtors/
{
%Docstring
A paint effect which draws the source picture with minor or no alterations
Expand Down
6 changes: 3 additions & 3 deletions python/core/auto_generated/effects/qgsshadoweffect.sip.in
Expand Up @@ -9,7 +9,7 @@



class QgsShadowEffect : QgsPaintEffect
class QgsShadowEffect : QgsPaintEffect /NoDefaultCtors/
{
%Docstring
Base class for paint effects which offset, blurred shadows
Expand Down Expand Up @@ -295,7 +295,7 @@ the picture.
};


class QgsDropShadowEffect : QgsShadowEffect
class QgsDropShadowEffect : QgsShadowEffect /NoDefaultCtors/
{
%Docstring
A paint effect which draws an offset and optionally blurred drop shadow
Expand Down Expand Up @@ -331,7 +331,7 @@ Creates a new QgsDropShadowEffect effect from a properties string map.

};

class QgsInnerShadowEffect : QgsShadowEffect
class QgsInnerShadowEffect : QgsShadowEffect /NoDefaultCtors/
{
%Docstring
A paint effect which draws an offset and optionally blurred drop shadow
Expand Down
Expand Up @@ -9,7 +9,7 @@



class QgsTransformEffect : QgsPaintEffect
class QgsTransformEffect : QgsPaintEffect /NoDefaultCtors/
{
%Docstring
A paint effect which applies transformations (such as move,
Expand Down
2 changes: 1 addition & 1 deletion src/core/effects/qgsblureffect.h
Expand Up @@ -31,7 +31,7 @@
* \since QGIS 2.9
*/

class CORE_EXPORT QgsBlurEffect : public QgsPaintEffect
class CORE_EXPORT QgsBlurEffect : public QgsPaintEffect SIP_NODEFAULTCTORS
{

public:
Expand Down
2 changes: 1 addition & 1 deletion src/core/effects/qgscoloreffect.h
Expand Up @@ -32,7 +32,7 @@
* \since QGIS 2.9
*/

class CORE_EXPORT QgsColorEffect : public QgsPaintEffect
class CORE_EXPORT QgsColorEffect : public QgsPaintEffect SIP_NODEFAULTCTORS
{

public:
Expand Down
2 changes: 1 addition & 1 deletion src/core/effects/qgseffectstack.h
Expand Up @@ -41,7 +41,7 @@
* \since QGIS 2.9
*/

class CORE_EXPORT QgsEffectStack : public QgsPaintEffect
class CORE_EXPORT QgsEffectStack : public QgsPaintEffect SIP_NODEFAULTCTORS
{

public:
Expand Down
6 changes: 4 additions & 2 deletions src/core/effects/qgspainteffect.h
Expand Up @@ -50,7 +50,7 @@ class QgsRenderContext;
* \since QGIS 2.9
*/

class CORE_EXPORT QgsPaintEffect
class CORE_EXPORT QgsPaintEffect SIP_NODEFAULTCTORS
{

#ifdef SIP_RUN
Expand Down Expand Up @@ -308,6 +308,8 @@ class CORE_EXPORT QgsPaintEffect

friend class QgsEffectStack;

QgsPaintEffect &operator= ( const QgsPaintEffect & ) = delete;

};

/**
Expand All @@ -323,7 +325,7 @@ class CORE_EXPORT QgsPaintEffect
* \since QGIS 2.9
*/

class CORE_EXPORT QgsDrawSourceEffect : public QgsPaintEffect
class CORE_EXPORT QgsDrawSourceEffect : public QgsPaintEffect SIP_NODEFAULTCTORS
{
public:

Expand Down
6 changes: 3 additions & 3 deletions src/core/effects/qgsshadoweffect.h
Expand Up @@ -31,7 +31,7 @@
* \since QGIS 2.9
*/

class CORE_EXPORT QgsShadowEffect : public QgsPaintEffect
class CORE_EXPORT QgsShadowEffect : public QgsPaintEffect SIP_NODEFAULTCTORS
{

public:
Expand Down Expand Up @@ -251,7 +251,7 @@ class CORE_EXPORT QgsShadowEffect : public QgsPaintEffect
*
* \since QGIS 2.9
*/
class CORE_EXPORT QgsDropShadowEffect : public QgsShadowEffect
class CORE_EXPORT QgsDropShadowEffect : public QgsShadowEffect SIP_NODEFAULTCTORS
{

public:
Expand Down Expand Up @@ -282,7 +282,7 @@ class CORE_EXPORT QgsDropShadowEffect : public QgsShadowEffect
*
* \since QGIS 2.9
*/
class CORE_EXPORT QgsInnerShadowEffect : public QgsShadowEffect
class CORE_EXPORT QgsInnerShadowEffect : public QgsShadowEffect SIP_NODEFAULTCTORS
{

public:
Expand Down
2 changes: 1 addition & 1 deletion src/core/effects/qgstransformeffect.h
Expand Up @@ -33,7 +33,7 @@
* \since QGIS 2.9
*/

class CORE_EXPORT QgsTransformEffect : public QgsPaintEffect
class CORE_EXPORT QgsTransformEffect : public QgsPaintEffect SIP_NODEFAULTCTORS
{

public:
Expand Down

0 comments on commit 6fd336c

Please sign in to comment.