Fixed searchclients to handle new Google URLs correctly; added GUI
[movie-schedule] / src / control / maincontroller.h
index 30f9f4e..d0a3fe1 100644 (file)
@@ -29,6 +29,7 @@ class TheaterController;
 class MovieController;
 class LocationController;
 class ActionController;
+class SettingsController;
 class ItemModelSortController;
 class TheaterModel;
 class MovieModel;
@@ -43,6 +44,7 @@ public:
     MainController(MainWindow *main_window, Settings *settings, CinemaSchedule *cinema_schedule,
                    TheaterController *theater_controller, MovieController *movie_controller,
                    LocationController *location_controller, ActionController *action_controller,
+                   SettingsController *settings_controller,
                    ItemModelSortController *sort_controller, QThread *search_worker);
     ~MainController();
 
@@ -56,6 +58,8 @@ private:
     Q_SLOT void NetworkDisconnected();
     Q_SLOT void NetworkError();
 
+    Q_SLOT void SettingsChanged(const Settings &settings);
+
     Q_SLOT void SearchTheaters();
     Q_SLOT void SearchMovies();
     Q_SLOT void OpenAboutDialog();
@@ -90,6 +94,7 @@ private:
     MovieController *_movie_controller;
     LocationController *_location_controller;
     ActionController *_action_controller;
+    SettingsController *_settings_controller;
     ItemModelSortController *_sort_controller;
     QThread *_search_worker;
     ConnectivityManager *_connectivity_manager;