QGIS/python/core/gps/qgsqtlocationconnection.sip
2014-01-27 09:30:53 +01:00

38 lines
1015 B
Plaintext

%Feature MOBILITY_LOCATION
%If (MOBILITY_LOCATION)
class QgsQtLocationConnection: QgsGPSConnection
{
%TypeHeaderCode
#include <qgsqtlocationconnection.h>
%End
public:
QgsQtLocationConnection();
~QgsQtLocationConnection();
protected slots:
/**Needed to make QtLocation detected*/
void broadcastConnectionAvailable( );
/**Parse available data source content*/
void parseData();
/**Called when the position updated.
* @note not available in python binding
*/
// void positionUpdated( const QGeoPositionInfo &info );
%If (!ANDROID)
/**Called when the number of satellites in view is updated.
* @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 not available in python bindings on android
*/
void satellitesInUseUpdated( const QList<QGeoSatelliteInfo>& satellites );
%End
};
%End