QGIS API Documentation  master-6227475
QgsQtLocationConnection Class Reference

#include <qgsqtlocationconnection.h>

+ Inheritance diagram for QgsQtLocationConnection:
+ Collaboration diagram for QgsQtLocationConnection:

List of all members.

Public Member Functions

 QgsQtLocationConnection ()
 ~QgsQtLocationConnection ()

Protected Slots

void broadcastConnectionAvailable ()
 Needed to make QtLocation detected.
void parseData ()
 Parse available data source content.
void positionUpdated (const QGeoPositionInfo &info)
 Called when the position updated.
void satellitesInUseUpdated (const QList< QGeoSatelliteInfo > &satellites)
 Called when the number of satellites in use is updated.
void satellitesInViewUpdated (const QList< QGeoSatelliteInfo > &satellites)
 Called when the number of satellites in view is updated.

Private Member Functions

void startGPS ()
void startSatelliteMonitor ()

Private Attributes

QPointer< QGeoPositionInfoSource > locationDataSource
QString mDevice
QGeoPositionInfo mInfo
QPointer< QGeoSatelliteInfoSource > satelliteInfoSource

Detailed Description

Definition at line 29 of file qgsqtlocationconnection.h.


Constructor & Destructor Documentation


Member Function Documentation

void QgsQtLocationConnection::positionUpdated ( const QGeoPositionInfo &  info) [protected, slot]

Called when the position updated.

Note:
not available in python binding

Definition at line 56 of file qgsqtlocationconnection.cpp.

References mInfo, and parseData().

Referenced by startGPS().


Member Data Documentation

QPointer<QGeoPositionInfoSource> QgsQtLocationConnection::locationDataSource [private]

Definition at line 59 of file qgsqtlocationconnection.h.

Referenced by broadcastConnectionAvailable(), parseData(), and startGPS().

Definition at line 57 of file qgsqtlocationconnection.h.

QGeoPositionInfo QgsQtLocationConnection::mInfo [private]

Definition at line 58 of file qgsqtlocationconnection.h.

Referenced by parseData(), and positionUpdated().

QPointer<QGeoSatelliteInfoSource> QgsQtLocationConnection::satelliteInfoSource [private]

Definition at line 60 of file qgsqtlocationconnection.h.

Referenced by startSatelliteMonitor().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines