sip documentation fix

This commit is contained in:
Juergen E. Fischer 2014-01-27 09:28:58 +01:00
parent 74e7314c36
commit b49dda6984
4 changed files with 7 additions and 7 deletions

View File

@ -24,12 +24,12 @@ class QgsQtLocationConnection: QgsGPSConnection
%If (!ANDROID)
/**Called when the number of satellites in view is updated.
* @note only available in python bindings on android
* @note not available in python bindings on android
*/
void satellitesInViewUpdated( const QList<QGeoSatelliteInfo>& satellites );
/**Called when the number of satellites in use is updated.
* @note only available in python bindings on android
* @note not available in python bindings on android
*/
void satellitesInUseUpdated( const QList<QGeoSatelliteInfo>& satellites );
%End

View File

@ -34,13 +34,13 @@ class QgsClipper
// A handy way to refer to the four boundaries
enum Boundary {XMax, XMin, YMax, YMin};
%If (!ANDROID)
// Trims the given feature to a rectangular box. Returns the trimmed
// 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).
//
// @note python binding only available on android
%If (!ANDROID)
// @note not available in python bindings on android
static void trimFeature( QVector<double>& x,
QVector<double>& y,
bool shapeOpen );

View File

@ -46,12 +46,12 @@ class CORE_EXPORT QgsQtLocationConnection: public QgsGPSConnection
void positionUpdated( const QGeoPositionInfo &info );
/**Called when the number of satellites in view is updated.
* @note only available in python bindings on android
* @note not available in python bindings on android
*/
void satellitesInViewUpdated( const QList<QGeoSatelliteInfo>& satellites );
/**Called when the number of satellites in use is updated.
* @note only available in python bindings on android
* @note not available in python bindings on android
*/
void satellitesInUseUpdated( const QList<QGeoSatelliteInfo>& satellites );

View File

@ -73,7 +73,7 @@ class CORE_EXPORT QgsClipper
// the function treats the points as a closed shape (polygon), or as
// an open shape (linestring).
//
// @note python binding only available on android
// @note not available in python bindings on android
static void trimFeature( QVector<double>& x,
QVector<double>& y,
bool shapeOpen );