worcarounds to make sip generation work on android

This commit is contained in:
Marco Bernasocchi 2013-05-19 00:39:45 +02:00 committed by Larry Shaffer
parent 10fc68119c
commit 2cc684793c
2 changed files with 5 additions and 1 deletions

View File

@ -106,7 +106,9 @@ class QgsComposerScaleBar: QgsComposerItem
/**Returns the x - positions of the segment borders (in item coordinates) and the width
of the segment*/
%If (!ANDROID)
void segmentPositions( QList<QPair<double, double> >& posWidthList ) const;
%End
/**Sets box size suitable to content*/
void adjustBoxSize();

View File

@ -38,10 +38,12 @@ class QgsClipper
// feature in x and y. The shapeOpen parameter determines whether
// the function treats the points as a closed shape (polygon), or as
// an open shape (linestring).
%If (!ANDROID)
static void trimFeature( QVector<double>& x,
QVector<double>& y,
bool shapeOpen );
%End
static void trimPolygon( QPolygonF& pts, const QgsRectangle& clipRect );
/**Reads a polyline from WKB and clips it to clipExtent