Skip to content
Permalink
Browse files
Promote rendererChanged() signal from raster+vector layer to base map…
… layer
  • Loading branch information
wonder-sk committed May 26, 2014
1 parent 2fc65a9 commit 62e499e1be64f070af135ccf76119abaa949609c
Showing with 6 additions and 12 deletions.
  1. +3 −0 python/core/qgsmaplayer.sip
  2. +0 −3 python/core/qgsvectorlayer.sip
  3. +0 −3 python/core/raster/qgsrasterlayer.sip
  4. +3 −0 src/core/qgsmaplayer.h
  5. +0 −3 src/core/qgsvectorlayer.h
  6. +0 −3 src/core/raster/qgsrasterlayer.h
@@ -427,6 +427,9 @@ class QgsMapLayer : QObject
/** Signal emitted when the blend mode is changed, through QgsMapLayer::setBlendMode() */
void blendModeChanged( const QPainter::CompositionMode &blendMode );

/** Signal emitted when renderer is changed */
void rendererChanged();

protected:
/** Set the extent */
virtual void setExtent( const QgsRectangle &rect );
@@ -1239,9 +1239,6 @@ class QgsVectorLayer : QgsMapLayer
*/
void labelingFontNotFound( QgsVectorLayer* layer, const QString& fontfamily );

/** Signal emitted on symbology changes, when setRendererV2() is called */
void rendererChanged();

/** Signal emitted when setFeatureBlendMode() is called */
void featureBlendModeChanged( const QPainter::CompositionMode &blendMode );

@@ -229,9 +229,6 @@ class QgsRasterLayer : QgsMapLayer
*/
void dataChanged();

/** Signal emitted when the symbology changes, through call to setRenderer() */
void rendererChanged();

protected:
/** \brief Read the symbology for the current layer from the Dom node supplied */
bool readSymbology( const QDomNode& node, QString& errorMessage );
@@ -443,6 +443,9 @@ class CORE_EXPORT QgsMapLayer : public QObject
/** Signal emitted when the blend mode is changed, through QgsMapLayer::setBlendMode() */
void blendModeChanged( const QPainter::CompositionMode &blendMode );

/** Signal emitted when renderer is changed */
void rendererChanged();

protected:
/** Set the extent */
virtual void setExtent( const QgsRectangle &rect );
@@ -1584,9 +1584,6 @@ class CORE_EXPORT QgsVectorLayer : public QgsMapLayer
*/
void labelingFontNotFound( QgsVectorLayer* layer, const QString& fontfamily );

/** Signal emitted on symbology changes, when setRendererV2() is called */
void rendererChanged();

/** Signal emitted when setFeatureBlendMode() is called */
void featureBlendModeChanged( const QPainter::CompositionMode &blendMode );

@@ -389,9 +389,6 @@ class CORE_EXPORT QgsRasterLayer : public QgsMapLayer
*/
void dataChanged();

/** Signal emitted when the symbology changes, through call to setRenderer() */
void rendererChanged();

protected:
/** \brief Read the symbology for the current layer from the Dom node supplied */
bool readSymbology( const QDomNode& node, QString& errorMessage );

0 comments on commit 62e499e

Please sign in to comment.