Skip to content
Permalink
Browse files

fix formatting

  • Loading branch information
alexbruy committed Nov 2, 2016
1 parent dac03d5 commit f7d591238099fb3e4b7977b40ce183dfcf6bd64e
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/core/raster/qgscolorrampshader.h
@@ -67,10 +67,10 @@ class CORE_EXPORT QgsColorRampShader : public QgsRasterShaderFunction
};

//! \brief Get the custom colormap
QList<QgsColorRampShader::ColorRampItem> colorRampItemList() const {return mColorRampItemList.toList();}
QList<QgsColorRampShader::ColorRampItem> colorRampItemList() const { return mColorRampItemList.toList(); }

//! \brief Get the color ramp type
QgsColorRampShader::ColorRamp_TYPE colorRampType() const {return mColorRampType;}
QgsColorRampShader::ColorRamp_TYPE colorRampType() const { return mColorRampType; }

// \brief Get the color ramp type as a string
QString colorRampTypeAsQString();
@@ -79,7 +79,7 @@ class CORE_EXPORT QgsColorRampShader : public QgsRasterShaderFunction
* @note added in QGIS 3.0
* @see setColorRampName()
*/
QString colorRampName() const {return mColorRampName;}
QString colorRampName() const { return mColorRampName; }

//! \brief Set custom colormap
void setColorRampItemList( const QList<QgsColorRampShader::ColorRampItem>& theList ); //TODO: sort on set

0 comments on commit f7d5912

Please sign in to comment.
You can’t perform that action at this time.