X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=zouba%2Fsrc%2Froute.h;fp=zouba%2Fsrc%2Froute.h;h=0000000000000000000000000000000000000000;hb=15842000c65c6c7529d0fe35e13253adb4293afd;hp=9a311b5813cae10763b2cc934829614ae45d22d3;hpb=5789808b3e0c9a6a1d779270ecfbf0854f4d1b1e;p=ptas diff --git a/zouba/src/route.h b/zouba/src/route.h deleted file mode 100644 index 9a311b5..0000000 --- a/zouba/src/route.h +++ /dev/null @@ -1,63 +0,0 @@ -#ifndef ROUTE_H -#define ROUTE_H - -#include "routedata.h" -#include "location.h" - -#include -#include -#include - -class RoutePrivate; - -class Route: public QObject -{ - Q_OBJECT - -public: - Route(); - ~Route(); - - /*! - * \brief Gets the route data from the server - */ - void getRoute(); - - /*! - \brief Get the from location - \return The from location - */ - Location *fromLocation() const; - - /*! - \brief Get the to location - \return The to location - */ - Location *toLocation() const; - -public Q_SLOTS: - - /*! - * \brief Sets the from location - * \param fromLocation The from location - */ - void setFromLocation( Location *location=0 ); - - /*! - * \brief Sets the to location - * \param toLocation The to location - */ - void setToLocation( Location *location=0 ); - -Q_SIGNALS: - void routeReady( QList ); - void busy( bool busy ); - -private Q_SLOTS: - void replyFinished( QNetworkReply* ); - -private: - RoutePrivate *q; - QNetworkAccessManager *manager; -}; -#endif // ROUTE_H