RoutingService Class Reference
RoutingService class for communicating with CloudMade server and parsing routing data.
More...
#include <routingservice.h>
List of all members.
Detailed Description
RoutingService class for communicating with CloudMade server and parsing routing data.
- Author:
- Henri Lampela - henri.lampela@ixonos.com
-
Sami Rämö - sami.ramo@ixonos.com
Constructor & Destructor Documentation
RoutingService::RoutingService |
( |
QObject * |
parent = 0 |
) |
|
Default constructor.
- Parameters:
-
| parent | instance of parent |
Member Function Documentation
void RoutingService::error |
( |
const int |
context, |
|
|
const int |
error | |
|
) |
| | [signal] |
Signals error.
- Parameters:
-
| context | error context |
| error | error code |
void RoutingService::parseRouteData |
( |
const QByteArray & |
jsonReply |
) |
[private] |
Parses routing data from JSON string.
- Parameters:
-
void RoutingService::requestFinished |
( |
QNetworkReply * |
reply |
) |
[slot] |
Public slot, which indicates when http request has been completed.
- Parameters:
-
| reply | storage for http reply |
Request routing information from the server.
- Parameters:
-
| from | Start point of the route |
| to | End point of the route |
void RoutingService::routeParsed |
( |
Route & |
route |
) |
[signal] |
Emited when route is parsed and is ready for further processing.
- Parameters:
-
| route | Route item containing parsed route details |
void RoutingService::sendRequest |
( |
const QUrl & |
url |
) |
[private] |
Sends http request.
- Parameters:
-
The documentation for this class was generated from the following files: