2012-09-24 18:16:27 +02:00
|
|
|
%Feature MOBILITY_LOCATION
|
|
|
|
|
|
|
|
%If (MOBILITY_LOCATION)
|
2012-09-24 02:28:15 +02:00
|
|
|
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.*/
|
|
|
|
// void positionUpdated( const QGeoPositionInfo &info );
|
|
|
|
|
|
|
|
/**Called when the number of satellites in view is updated.*/
|
|
|
|
void satellitesInViewUpdated( const QList<QGeoSatelliteInfo>& satellites );
|
|
|
|
|
|
|
|
/**Called when the number of satellites in use is updated.*/
|
|
|
|
void satellitesInUseUpdated( const QList<QGeoSatelliteInfo>& satellites );
|
|
|
|
};
|
2012-09-24 18:16:27 +02:00
|
|
|
%End
|