QGIS/python/core/gps/qgsqtlocationconnection.sip

38 lines
1017 B
Plaintext
Raw Normal View History

%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();
2014-01-27 09:22:24 +01:00
/**Called when the position updated.
* @note not available in python binding
*/
// void positionUpdated( const QGeoPositionInfo &info );
2013-05-19 00:38:55 +02:00
%If (!ANDROID)
2014-01-27 09:22:24 +01:00
/**Called when the number of satellites in view is updated.
* @note only available in python bindings on android
*/
2013-05-19 00:38:55 +02:00
void satellitesInViewUpdated( const QList<QGeoSatelliteInfo>& satellites );
2014-01-27 09:22:24 +01:00
/**Called when the number of satellites in use is updated.
* @note only available in python bindings on android
*/
2013-05-19 00:38:55 +02:00
void satellitesInUseUpdated( const QList<QGeoSatelliteInfo>& satellites );
%End
};
%End