Skip to content
Permalink
Browse files

add Q_PROPERTY for crs in QgsMapLayer

  • Loading branch information
3nids committed Aug 20, 2018
1 parent 444bf12 commit 9c97a341fe5396b3d7ae482d655382237d0ddba6
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/core/qgsmaplayer.h
@@ -65,6 +65,7 @@ class CORE_EXPORT QgsMapLayer : public QObject
Q_PROPERTY( QString name READ name WRITE setName NOTIFY nameChanged )
Q_PROPERTY( int autoRefreshInterval READ autoRefreshInterval WRITE setAutoRefreshInterval NOTIFY autoRefreshIntervalChanged )
Q_PROPERTY( QgsLayerMetadata metadata READ metadata WRITE setMetadata NOTIFY metadataChanged )
Q_PROPERTY( QgsCoordinateReferenceSystem crs READ crs WRITE setCrs NOTIFY crsChanged )

#ifdef SIP_RUN
SIP_CONVERT_TO_SUBCLASS_CODE

0 comments on commit 9c97a34

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