Mark QgsRasterRenderer::legendSymbologyItems as /Out/ in sip

This commit is contained in:
Nyall Dawson 2017-03-23 10:15:30 +10:00
parent 2446dae163
commit 634d5ffb8a
6 changed files with 6 additions and 6 deletions

View File

@ -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 );

View File

@ -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;

View File

@ -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 );

View File

@ -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;
};

View File

@ -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;

View File

@ -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;