committing work in progress
[ptas] / zouba / src / uicontroller.h
index 7cbbbf5..2812645 100644 (file)
@@ -7,6 +7,7 @@
 #include <QObject>
 
 class Ui;
+class Journey;
 
 class UiController : public QObject
 {
@@ -21,7 +22,7 @@ public Q_SLOTS:
 
 Q_SIGNALS:
   void buttonClicked();
-  void destinationChanged( Location *newDestination );
+  void journeyChanged( Journey *newJourney );
 
 private Q_SLOTS:
   void changeDestination( int id );
@@ -37,9 +38,9 @@ private:
 
 private:
   QList<RouteData> m_routeData;
-  QList<Location*> m_destination;
+  QList<Journey*>  m_journeys;
   Ui *m_ui;
-  int m_currentDestination;
+  int m_currentJourney;
   int m_currentRoute;
 };
 #endif // UICONTROLLER_H