Added confirmation dialog to automatic location update feature.
[situare] / src / ui / mainwindow.h
index e4b78fe..2177b3e 100644 (file)
@@ -80,6 +80,13 @@ private:
  ******************************************************************************/
 public:
     /**
+    * @brief Sets automatic location update enabled from settings dialog.
+    *
+    * @param enabled true if enabled, false otherwise
+    */
+    void automaticLocationUpdateEnabled(bool enabled);
+
+    /**
     * @brief Clears cookie jar
     *
     */
@@ -116,6 +123,13 @@ public:
     void setMapViewScene(QGraphicsScene *scene);
 
     /**
+    * Shows dialog with enable automatic location update question.
+    *
+    * @return true if accepted, false otherwise
+    */
+    bool showEnableAutomaticUpdateLocationDialog();
+
+    /**
     * @brief Show Maemo information box with message.
     *
     * @param message Information message