mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-26 00:02:08 -05:00
42 lines
1.1 KiB
Plaintext
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
|