This class allows to find the Coordinates of an address. More...
#include <GeoCode.h>
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. |
This class allows to find the Coordinates of an address.
This class uses Google Maps Web Services to find the coordinats of an address.
void GeoCode::findAddress | ( | QString | address | ) |
Find the coordinates of the given address.
If the processing is done, this function emits addrReady(lat, lng)
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.
reply | is the QNetworkReply* |