Merge branch 'master' into settings_auto_update
[situare] / src / ui / mainwindow.h
index 73b5aa8..8185c55 100644 (file)
@@ -42,6 +42,7 @@ class SituareService;
 class User;
 class UserInfoPanel;
 class ZoomButtonPanel;
+class SettingsDialog;
 
 /**
 * @brief Main Window Class
@@ -313,6 +314,14 @@ signals:
     void centerToSceneCoordinates(QPoint sceneCoordinate);
 
     /**
+    * @brief Signal for enabling automatic location update.
+    *
+    * @param enabled true if enabled, false otherwise
+    * @param updateIntervalMsecs update interval in milliseconds
+    */
+    void enableAutomaticLocationUpdate(bool enabled, int updateIntervalMsecs);
+
+    /**
     * @brief Signal for requesting username from settings
     *
     */
@@ -477,6 +486,8 @@ private:
     PanelSideBar *m_friendsListPanelSidebar;///< Friends panel side bar
     UserInfoPanel *m_userPanel;             ///< Instance of the user information panel
     ZoomButtonPanel *m_zoomButtonPanel;     ///< Instance of zoom button panel
+
+    SettingsDialog *m_settingsDialog;       ///< Settings dialog
 };
 
 #endif // MAINWINDOW_H