QGIS/python/core/gps/qgsqtlocationconnection.sip
2017-05-01 20:00:51 +02:00

42 lines
1.1 KiB
Plaintext

%Feature MOBILITY_LOCATION
%If (MOBILITY_LOCATION)
/**
* \class QgsQtLocationConnection
* \note may not be available in Python bindings on all platforms
*/
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