Moved files to make zouba the only project.
[ptas] / zouba / src / main.cpp
diff --git a/zouba/src/main.cpp b/zouba/src/main.cpp
deleted file mode 100644 (file)
index bd3898b..0000000
+++ /dev/null
@@ -1,64 +0,0 @@
-#include "routedata.h"
-#include "route.h"
-#include "ui.h"
-#include "uicontroller.h"
-#include "location.h"
-#include "gpscontroller.h"
-#include "ytv.h"
-
-#include <QDebug>
-#include <QObject>
-#include <QApplication>
-#include <QMainWindow>
-
-int main(int argc, char *argv[] )
-{
-  QApplication app(argc, argv);
-
-  QMainWindow *mainWindow = new QMainWindow;
-  Ui *ui = new Ui;;
-  ui->setupUi(mainWindow);
-
-  UiController  *uiController  = new UiController( ui );
-  Route         *route         = new Route();
-  GpsController *gpsController = new GpsController();
-
-  QObject::connect(
-      route, SIGNAL( routeReady( QList<RouteData> ) ),
-      uiController, SLOT( displayRoute( QList<RouteData> ) )
-      );
-
-  QObject::connect(
-      gpsController, SIGNAL( locationChanged( Location* ) ),
-      route, SLOT( setFromLocation( Location* ) )
-      );
-
-  QObject::connect(
-      uiController, SIGNAL( destinationChanged( Location* ) ),
-      route, SLOT( setToLocation( Location* ) )
-    );
-
-  QObject::connect(
-      uiController, SIGNAL( buttonClicked() ),
-      gpsController, SLOT( getGps() )
-    );
-
-  QObject::connect(
-      ui, SIGNAL( fakeGpsPressed( const QString & ) ),
-      gpsController, SLOT( useFakeGps( const QString & ) )
-    );
-
-  QObject::connect(
-      ui, SIGNAL( liveGpsPressed() ),
-      gpsController, SLOT( useLiveGps() )
-    );
-
-  QObject::connect(
-      route, SIGNAL( busy( bool ) ),
-      ui, SLOT( setBusy( bool ) )
-    );
-
-  mainWindow->show();
-
-  return app.exec();
-}