Changes: changed UI, walking speed, time format
[ptas] / zouba / uicontroller.h
index 0ea3010..f524a42 100644 (file)
@@ -1,24 +1,28 @@
 #ifndef UICONTROLLER_H
 #define UICONTROLLER_H
 
-#include "ui_zouba.h"
 #include "routedata.h"
 
 #include <QObject>
 
+class Ui;
+
 class UiController : public QObject
 {
   Q_OBJECT
 
 public:
-  UiController( Ui::MainWindow *ui );
+  UiController( Ui *ui );
   ~UiController();
 
 public Q_SLOTS:
   void displayRoute( const RouteData &routeData );
 
+Q_SIGNALS:
+  void homePressed();
+
 private:
-  Ui::MainWindow *ui;
+  Ui *ui;
 };
 #endif // UICONTROLLER_H