Incorporated changes from bus project.
[ptas] / src / route.h
index 9a311b5..0143e7a 100644 (file)
@@ -12,52 +12,52 @@ class RoutePrivate;
 
 class Route: public QObject
 {
-  Q_OBJECT
+    Q_OBJECT
 
 public:
-  Route();
-  ~Route();
+    Route();
+    ~Route();
 
-  /*!
+    /*!
     * \brief Gets the route data from the server
     */
-  void getRoute();
+    void getRoute();
 
-  /*!
+    /*!
     \brief Get the from location
     \return The from location
     */
-  Location *fromLocation() const;
+    Location *fromLocation() const;
 
-  /*!
+    /*!
     \brief Get the to location
     \return The to location
     */
-  Location *toLocation() const;
+    Location *toLocation() const;
 
 public Q_SLOTS:
 
-  /*!
+    /*!
     * \brief Sets the from location
     * \param fromLocation The from location
     */
-  void setFromLocation( Location *location=0 );
+    void setFromLocation(Location *location=0);
 
-  /*!
+    /*!
     * \brief Sets the to location
     * \param toLocation The to location
     */
-  void setToLocation( Location *location=0 );
+    void setToLocation(Location *location=0);
 
 Q_SIGNALS:
-  void routeReady( QList<RouteData> );
-  void busy( bool busy );
+    void routeReady(QList<RouteData>);
+    void busy(bool busy);
 
 private Q_SLOTS:
-  void replyFinished( QNetworkReply* );
+    void replyFinished(QNetworkReply*);
 
 private:
-  RoutePrivate *q;
-  QNetworkAccessManager *manager;
+    RoutePrivate *q;
+    QNetworkAccessManager *manager;
 };
 #endif // ROUTE_H