fix sip bindings

This commit is contained in:
Juergen E. Fischer 2015-05-29 20:35:42 +02:00
parent 0e55b3bf0f
commit aeb0e71e32
3 changed files with 6 additions and 2 deletions

View File

@ -52,5 +52,9 @@ class QgsCircularStringV2: public QgsCurveV2
bool pointAt( int i, QgsPointV2& vertex, QgsVertexId::VertexType& type ) const;
void sumUpArea( double& sum ) const;
bool hasCurvedSegments() const;
private:
void segmentize( const QgsPointV2& p1, const QgsPointV2& p2, const QgsPointV2& p3, QList<QgsPointV2>& points ) const;
};

View File

@ -68,7 +68,7 @@ class ANALYSIS_EXPORT QgsZonalStatistics
{
reset();
}
void reset() { sum = 0; count = 0; max = DBL_MIN; min = DBL_MAX; valueCount.clear(); values.clear(); }
void reset() { sum = 0; count = 0; max = FLT_MIN; min = FLT_MAX; valueCount.clear(); values.clear(); }
void addValue( float value, double weight = 1.0 )
{
if ( weight < 1.0 )

View File

@ -265,7 +265,7 @@ class GUI_EXPORT QgsAttributeTableModel: public QAbstractTableModel
* Launched when eatures have been deleted
* @param fids feature ids
*/
virtual void featuresDeleted( QgsFeatureIds fid );
virtual void featuresDeleted( QgsFeatureIds fids );
/**
* Launched when a feature has been added
* @param fid feature id