X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=zouba.sb1%2Froute.h;fp=zouba.sb1%2Froute.h;h=0000000000000000000000000000000000000000;hb=60e0abb85c03e13a1d8704e9eac022eb73fb79fc;hp=5cdccd4c407b97e77bed462e19705a55aceb562e;hpb=e6585224dfaadb59af24e74ac7599a6c92ad66af;p=ptas diff --git a/zouba.sb1/route.h b/zouba.sb1/route.h deleted file mode 100644 index 5cdccd4..0000000 --- a/zouba.sb1/route.h +++ /dev/null @@ -1,62 +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 ); - -private Q_SLOTS: - void replyFinished( QNetworkReply* ); - -private: - RoutePrivate *q; - QNetworkAccessManager *manager; -}; -#endif // ROUTE_H