[QGIS Commit] r13395 - trunk/qgis/python/core

svn_qgis at osgeo.org svn_qgis at osgeo.org
Mon Apr 26 16:04:55 EDT 2010


Author: jef
Date: 2010-04-26 16:04:53 -0400 (Mon, 26 Apr 2010)
New Revision: 13395

Modified:
   trunk/qgis/python/core/symbology-ng-core.sip
Log:
fix sip 4.7 support

Modified: trunk/qgis/python/core/symbology-ng-core.sip
===================================================================
--- trunk/qgis/python/core/symbology-ng-core.sip	2010-04-26 16:54:23 UTC (rev 13394)
+++ trunk/qgis/python/core/symbology-ng-core.sip	2010-04-26 20:04:53 UTC (rev 13395)
@@ -838,7 +838,7 @@
     void setColor1( QColor color );
     void setColor2( QColor color );
 
-    typedef QMultiMap<double, QColor> StopsMap;
+    typedef QMap<double, QColor> StopsMap;
 
     void setStops(const StopsMap& stops);
     const StopsMap& stops() const;
@@ -961,8 +961,8 @@
     static QString encodePoint( QPointF point );
     static QPointF decodePoint( QString str );
 
-    static QString encodeRealVector( const QVector<qreal>& v );
-    static QVector<qreal> decodeRealVector( const QString& s );
+    static QString encodeRealVector( const QVector<double>& v );
+    static QVector<double> decodeRealVector( const QString& s );
 
     static QString encodeOutputUnit( QgsSymbolV2::OutputUnit unit );
     static QgsSymbolV2::OutputUnit decodeOutputUnit( QString str );



More information about the QGIS-commit mailing list