Promote rendererChanged() signal from raster+vector layer to base map layer

This commit is contained in:
Martin Dobias 2014-05-26 11:59:13 +07:00
parent 2fc65a9e9b
commit 62e499e1be
6 changed files with 6 additions and 12 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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