Skip to content

Commit

Permalink
fix sip 4.7 support
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@13395 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Apr 26, 2010
1 parent 3822c67 commit a53296c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions python/core/symbology-ng-core.sip
Expand Up @@ -838,7 +838,7 @@ class QgsVectorGradientColorRampV2 : QgsVectorColorRampV2
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;
Expand Down Expand Up @@ -961,8 +961,8 @@ class QgsSymbolLayerV2Utils
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 );
Expand Down

0 comments on commit a53296c

Please sign in to comment.