Gps Class Reference

This classcan be used to obtain GPS coordinates. More...

#include <Gps.h>

List of all members.

Public Slots

void positionUpdated (const QGeoPositionInfo &info)
 Slot called when GPS returns a location.
void timedOut ()
 Slot called when GPS position requested timed out.

Signals

void GpsLocationReady (double lat, double lng)
void noGPS (QString reason)
void status (QString msg)

Public Member Functions

 Gps (QObject *parent=0)
 Construct a new GPS object to get the position.
virtual ~Gps ()
 Destruct GPS Object.
void getPosition ()
 Request position from GPS.

Detailed Description

This classcan be used to obtain GPS coordinates.


Constructor & Destructor Documentation

Gps::Gps ( QObject *  parent = 0  ) 

Construct a new GPS object to get the position.

The initialization is done upon object construction thus there is no need to call initGPS().


Member Function Documentation

void Gps::positionUpdated ( const QGeoPositionInfo &  info  )  [slot]

Slot called when GPS returns a location.

It forwards the location info with a signal and tells the GPS device to stop sending location updates.


The documentation for this class was generated from the following files:
Generated on Thu Jun 24 21:31:43 2010 for PrivL by  doxygen 1.6.3