Skip to content

Commit

Permalink
Mark QgsRasterRenderer::legendSymbologyItems as /Out/ in sip
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Mar 23, 2017
1 parent 2446dae commit 634d5ff
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion python/core/raster/qgscolorrampshader.sip
Expand Up @@ -104,7 +104,7 @@ class QgsColorRampShader : QgsRasterShaderFunction
/** \brief Generates and new RGB value based on original RGB value */
bool shade( double, double, double, double, int* /Out/, int* /Out/, int* /Out/, int* /Out/);

void legendSymbologyItems( QList< QPair< QString, QColor > >& symbolItems ) const;
void legendSymbologyItems( QList< QPair< QString, QColor > >& symbolItems /Out/ ) const;

//! Sets classification mode
void setClassificationMode( ClassificationMode classificationMode );
Expand Down
2 changes: 1 addition & 1 deletion python/core/raster/qgspalettedrasterrenderer.sip
Expand Up @@ -27,7 +27,7 @@ class QgsPalettedRasterRenderer : QgsRasterRenderer

void writeXml( QDomDocument& doc, QDomElement& parentElem ) const;

void legendSymbologyItems( QList< QPair< QString, QColor > >& symbolItems ) const;
void legendSymbologyItems( QList< QPair< QString, QColor > >& symbolItems /Out/ ) const;

QList<int> usesBands() const;

Expand Down
2 changes: 1 addition & 1 deletion python/core/raster/qgsrasterrenderer.sip
Expand Up @@ -36,7 +36,7 @@ class QgsRasterRenderer : QgsRasterInterface
int alphaBand() const;

/** Get symbology items if provided by renderer*/
virtual void legendSymbologyItems( QList< QPair< QString, QColor > >& symbolItems ) const;
virtual void legendSymbologyItems( QList< QPair< QString, QColor > >& symbolItems /Out/ ) const;

/** Sets base class members from xml. Usually called from create() methods of subclasses*/
void readXml( const QDomElement& rendererElem );
Expand Down
2 changes: 1 addition & 1 deletion python/core/raster/qgsrastershaderfunction.sip
Expand Up @@ -34,5 +34,5 @@ class QgsRasterShaderFunction
double minimumValue() const;
double maximumValue() const;

virtual void legendSymbologyItems( QList< QPair< QString, QColor > >& symbolItems ) const;
virtual void legendSymbologyItems( QList< QPair< QString, QColor > >& symbolItems /Out/ ) const;
};
2 changes: 1 addition & 1 deletion python/core/raster/qgssinglebandgrayrenderer.sip
Expand Up @@ -29,7 +29,7 @@ class QgsSingleBandGrayRenderer: QgsRasterRenderer

void writeXml( QDomDocument& doc, QDomElement& parentElem ) const;

void legendSymbologyItems( QList< QPair< QString, QColor > >& symbolItems ) const;
void legendSymbologyItems( QList< QPair< QString, QColor > >& symbolItems /Out/ ) const;

QList<int> usesBands() const;

Expand Down
2 changes: 1 addition & 1 deletion python/core/raster/qgssinglebandpseudocolorrenderer.sip
Expand Up @@ -34,7 +34,7 @@ class QgsSingleBandPseudoColorRenderer: QgsRasterRenderer

void writeXml( QDomDocument& doc, QDomElement& parentElem ) const;

void legendSymbologyItems( QList< QPair< QString, QColor > >& symbolItems ) const;
void legendSymbologyItems( QList< QPair< QString, QColor > >& symbolItems /Out/ ) const;

QList<int> usesBands() const;

Expand Down

0 comments on commit 634d5ff

Please sign in to comment.