Skip to content

Commit

Permalink
Promote rendererChanged() signal from raster+vector layer to base map…
Browse files Browse the repository at this point in the history
… layer
  • Loading branch information
wonder-sk committed May 26, 2014
1 parent 2fc65a9 commit 62e499e
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 12 deletions.
3 changes: 3 additions & 0 deletions python/core/qgsmaplayer.sip
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
Expand Down
3 changes: 0 additions & 3 deletions python/core/qgsvectorlayer.sip
Original file line number Diff line number Diff line change
Expand Up @@ -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 );

Expand Down
3 changes: 0 additions & 3 deletions python/core/raster/qgsrasterlayer.sip
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
Expand Down
3 changes: 3 additions & 0 deletions src/core/qgsmaplayer.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
Expand Down
3 changes: 0 additions & 3 deletions src/core/qgsvectorlayer.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 );

Expand Down
3 changes: 0 additions & 3 deletions src/core/raster/qgsrasterlayer.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
Expand Down

0 comments on commit 62e499e

Please sign in to comment.