New ui for adding new saved locations. Also many small fixes and
[ptas] / zouba / src / gui / searchdisplay.h
index 35600fa..16d6372 100644 (file)
@@ -5,7 +5,7 @@
 #include <QLineEdit>
 
 #include "routeresultwidget.h"
-#include "locationsdisplaywindow.h"
+#include "locationsdisplaywidget.h"
 #include "favoriteselectiondialog.h"
 
 #include "src/logic/routefinder.h"
@@ -34,7 +34,7 @@ private slots:
     void on_searchButton_clicked();
 
     void route_finder_finished();
-
+    void customize_requested();
     void gps_status_change_requested(bool status);
 
 private:
@@ -43,18 +43,18 @@ private:
 
     Ui::SearchDisplay *ui;
     RouteFinder *route_finder;
+    QMutex one_search;
+    bool search_restarted;
+    LocationsDisplayWidget *edit_window;
 
 #ifdef Q_WS_MAEMO_5
 private slots:
     void from_selection_selected(Location*);
     void dest_selection_selected(Location*);
-    void customize_requested();
 private:
     Location *from_selected;
     Location *dest_selected;
-    LocationsDisplayWindow *edit_window;
 #else
-
 private slots:
     void tabclosed(int index);
 private: