|
QGIS API Documentation
2.8.6-Wien
|
#include <qgsqtlocationconnection.h>

Public Member Functions | |
| QgsQtLocationConnection () | |
| ~QgsQtLocationConnection () | |
Public Member Functions inherited from QgsGPSConnection | |
| QgsGPSConnection (QIODevice *dev) | |
| Constructor. More... | |
| virtual | ~QgsGPSConnection () |
| bool | close () |
| Closes connection to device. More... | |
| bool | connect () |
| Opens connection to device. More... | |
| QgsGPSInformation | currentGPSInformation () const |
| Returns the current gps information (lat, lon, etc.) More... | |
| void | setSource (QIODevice *source) |
| Sets the GPS source. More... | |
| Status | status () const |
| Returns the status. More... | |
Protected Slots | |
| void | broadcastConnectionAvailable () |
| Needed to make QtLocation detected. More... | |
| void | parseData () |
| Parse available data source content. More... | |
| void | positionUpdated (const QGeoPositionInfo &info) |
| Called when the position updated. More... | |
| void | satellitesInUseUpdated (const QList< QGeoSatelliteInfo > &satellites) |
| Called when the number of satellites in use is updated. More... | |
| void | satellitesInViewUpdated (const QList< QGeoSatelliteInfo > &satellites) |
| Called when the number of satellites in view is updated. More... | |
Protected Slots inherited from QgsGPSConnection | |
| virtual void | parseData ()=0 |
| Parse available data source content. More... | |
Additional Inherited Members | |
Public Types inherited from QgsGPSConnection | |
| enum | Status { NotConnected, Connected, DataReceived, GPSDataReceived } |
Signals inherited from QgsGPSConnection | |
| void | nmeaSentenceReceived (const QString &substring) |
| void | stateChanged (const QgsGPSInformation &info) |
Protected Attributes inherited from QgsGPSConnection | |
| QgsGPSInformation | mLastGPSInformation |
| Last state of the gps related variables (e.g. More... | |
| QIODevice * | mSource |
| Data source (e.g. More... | |
| Status | mStatus |
| Connection status. More... | |
Definition at line 29 of file qgsqtlocationconnection.h.
| QgsQtLocationConnection::QgsQtLocationConnection | ( | ) |
Definition at line 25 of file qgsqtlocationconnection.cpp.
| QgsQtLocationConnection::~QgsQtLocationConnection | ( | ) |
Definition at line 37 of file qgsqtlocationconnection.cpp.
|
protectedslot |
Needed to make QtLocation detected.
Definition at line 46 of file qgsqtlocationconnection.cpp.
|
protectedslot |
Parse available data source content.
Definition at line 62 of file qgsqtlocationconnection.cpp.
|
protectedslot |
Called when the position updated.
Definition at line 56 of file qgsqtlocationconnection.cpp.
|
protectedslot |
Called when the number of satellites in use is updated.
Definition at line 122 of file qgsqtlocationconnection.cpp.
|
protectedslot |
Called when the number of satellites in view is updated.
Definition at line 102 of file qgsqtlocationconnection.cpp.
1.8.11