QGIS/python/core/gps/qgsqtlocationconnection.sip

42 lines
1.1 KiB
Plaintext
Raw Normal View History

%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:
2015-07-29 11:52:14 +02:00
/** Needed to make QtLocation detected*/
void broadcastConnectionAvailable();
2015-07-29 11:52:14 +02:00
/** Parse available data source content*/
void parseData();
2015-07-29 11:52:14 +02:00
/** Called when the position updated.
2014-01-27 09:22:24 +01:00
* @note not available in python binding
*/
// void positionUpdated( const QGeoPositionInfo &info );
2013-05-19 00:38:55 +02:00
%If (!ANDROID)
2015-07-29 11:52:14 +02:00
/** Called when the number of satellites in view is updated.
2014-01-27 09:28:58 +01:00
* @note not available in python bindings on android
2014-01-27 09:22:24 +01:00
*/
void satellitesInViewUpdated( const QList<QGeoSatelliteInfo> &satellites );
2015-07-29 11:52:14 +02:00
/** Called when the number of satellites in use is updated.
2014-01-27 09:28:58 +01:00
* @note not available in python bindings on android
2014-01-27 09:22:24 +01:00
*/
void satellitesInUseUpdated( const QList<QGeoSatelliteInfo> &satellites );
2013-05-19 00:38:55 +02:00
%End
};
%End