8 #include <QNetworkReply>
9 #include <QNetworkAccessManager>
13 class Route: public QObject
22 * \brief Gets the route data from the server
27 \brief Get the from location
28 \return The from location
30 Location *fromLocation() const;
33 \brief Get the to location
34 \return The to location
36 Location *toLocation() const;
41 * \brief Sets the from location
42 * \param fromLocation The from location
44 void setFromLocation(Location *location=0);
47 * \brief Sets the to location
48 * \param toLocation The to location
50 void setToLocation(Location *location=0);
53 void routeReady(QList<RouteData>);
57 void replyFinished(QNetworkReply*);
61 QNetworkAccessManager *manager;