head 1.2; access; symbols pkgsrc-2015Q4:1.1.0.24 pkgsrc-2015Q4-base:1.1 pkgsrc-2015Q3:1.1.0.22 pkgsrc-2015Q3-base:1.1 pkgsrc-2015Q2:1.1.0.20 pkgsrc-2015Q2-base:1.1 pkgsrc-2015Q1:1.1.0.18 pkgsrc-2015Q1-base:1.1 pkgsrc-2014Q4:1.1.0.16 pkgsrc-2014Q4-base:1.1 pkgsrc-2014Q3:1.1.0.14 pkgsrc-2014Q3-base:1.1 pkgsrc-2014Q2:1.1.0.12 pkgsrc-2014Q2-base:1.1 pkgsrc-2014Q1:1.1.0.10 pkgsrc-2014Q1-base:1.1 pkgsrc-2013Q4:1.1.0.8 pkgsrc-2013Q4-base:1.1 pkgsrc-2013Q3:1.1.0.6 pkgsrc-2013Q3-base:1.1 pkgsrc-2013Q2:1.1.0.4 pkgsrc-2013Q2-base:1.1 pkgsrc-2013Q1:1.1.0.2 pkgsrc-2013Q1-base:1.1; locks; strict; comment @// @; 1.2 date 2016.02.02.04.33.58; author dbj; state dead; branches; next 1.1; commitid 4wuuTR72A9DbriTy; 1.1 date 2013.01.10.23.58.30; author joerg; state Exp; branches; next ; desc @@ 1.2 log @update qgis to 12.2.3 New Features in QGIS 2.12 ‘Lyon’ This is the next release in our 4-monthly release series. It gives you access to the new features we have been working on and represents the ‘cutting edge’ of QGIS development. QGIS ‘Lyon’ is jam-packed with awesome new features. Special highlights are support for rule based labelling, rule based styling of attribute tables, and advanced geometry checker, support for digitising curve based geometries, better authentication management and much, much more! QGIS 2.12 also has many bug fixes and memory leaks addressed. The features provided in QGIS 2.12 will be included in the next LTR release (slated for release in 2016), so using this release provides you with an excellent opportunity to test new features that will make their way into the next LTR. @ text @$NetBSD: patch-src_core_qgsmaplayer.cpp,v 1.1 2013/01/10 23:58:30 joerg Exp $ --- src/core/qgsmaplayer.cpp.orig 2012-12-25 15:19:10.000000000 +0000 +++ src/core/qgsmaplayer.cpp @@@@ -279,7 +279,7 @@@@ bool QgsMapLayer::readXml( QDomNode & la -bool QgsMapLayer::writeXML( QDomNode & layer_node, QDomDocument & document ) +bool QgsMapLayer::writeXML( QDomNode & layer_node, QDomDocument & document ) const { // general layer metadata QDomElement maplayer = document.createElement( "maplayer" ); @@@@ -301,7 +301,7 @@@@ bool QgsMapLayer::writeXML( QDomNode & l QString src = source(); - QgsVectorLayer *vlayer = qobject_cast( this ); + const QgsVectorLayer *vlayer = qobject_cast( this ); if ( vlayer && vlayer->providerType() == "spatialite" ) { QgsDataSourceURI uri( src ); @@@@ -377,7 +377,7 @@@@ bool QgsMapLayer::writeXML( QDomNode & l -bool QgsMapLayer::writeXml( QDomNode & layer_node, QDomDocument & document ) +bool QgsMapLayer::writeXml( QDomNode & layer_node, QDomDocument & document ) const { // NOP by default; children will over-ride with behavior specific to them @@@@ -422,7 +422,7 @@@@ void QgsMapLayer::toggleScaleBasedVisibi mScaleBasedVisibility = theVisibilityFlag; } -bool QgsMapLayer::hasScaleBasedVisibility() +bool QgsMapLayer::hasScaleBasedVisibility() const { return mScaleBasedVisibility; } @@@@ -432,7 +432,7 @@@@ void QgsMapLayer::setMinimumScale( float mMinScale = theMinScale; } -float QgsMapLayer::minimumScale() +float QgsMapLayer::minimumScale() const { return mMinScale; } @@@@ -443,23 +443,23 @@@@ void QgsMapLayer::setMaximumScale( float mMaxScale = theMaxScale; } -float QgsMapLayer::maximumScale() +float QgsMapLayer::maximumScale() const { return mMaxScale; } -QStringList QgsMapLayer::subLayers() +QStringList QgsMapLayer::subLayers() const { return QStringList(); // Empty } -void QgsMapLayer::setLayerOrder( QStringList layers ) +void QgsMapLayer::setLayerOrder( const QStringList &layers ) { // NOOP } -void QgsMapLayer::setSubLayerVisibility( QString name, bool vis ) +void QgsMapLayer::setSubLayerVisibility( const QString &name, bool vis ) { // NOOP } @@@@ -483,7 +483,7 @@@@ void QgsMapLayer::setCrs( const QgsCoord emit layerCrsChanged(); } -unsigned int QgsMapLayer::getTransparency() +unsigned int QgsMapLayer::getTransparency() const { return mTransparencyLevel; } @ 1.1 log @Apply some const love. @ text @d1 1 a1 1 $NetBSD$ @