GeoCode Class Reference

This class allows to find the Coordinates of an address. More...

#include <GeoCode.h>

List of all members.

Public Slots

void recvCoordinates (QNetworkReply *reply)
 The slot beeing called if the coordinates are received.

Signals

void addrReady (double lat, double lng)

Public Member Functions

 GeoCode (QObject *parent=0)
 Construct an object that allows to find coordinates of an address.
void findAddress (QString address)
 Find the coordinates of the given address.

Detailed Description

This class allows to find the Coordinates of an address.

This class uses Google Maps Web Services to find the coordinats of an address.


Member Function Documentation

void GeoCode::findAddress ( QString  address  ) 

Find the coordinates of the given address.

If the processing is done, this function emits addrReady(lat, lng)

Parameters:
address is a QString specifying the address that should be geocoded
void GeoCode::recvCoordinates ( QNetworkReply *  reply  )  [slot]

The slot beeing called if the coordinates are received.

Parameters:
reply is the QNetworkReply*

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