Power save mode review and iteration.
[situare] / src / engine / engine.h
index c5ae5a4..fd66a99 100644 (file)
@@ -179,13 +179,6 @@ private:
 
 private slots:
     /**
-    * @brief Automatic update interval timer timeout.
-    *
-    * Requests update location if user has moved.
-    */
-    void automaticUpdateIntervalTimerTimeout();
-
-    /**
     * @brief Set auto centering feature enabled / disabled
     *
     * @param enabled true if enabled, false otherwise
@@ -198,6 +191,13 @@ private slots:
     void disableAutoCentering();
 
     /**
+    * @brief Slot for display state changed.
+    *
+    * @param enabled true if enabled, false otherwise
+    */
+    void displayStateChanged(bool enabled);
+
+    /**
     * @brief Slot for auto centering enabling.
     *
     * Calls gps to send last known position
@@ -222,11 +222,13 @@ private slots:
     void enableAutomaticLocationUpdate(bool enabled, int updateIntervalMsecs = 0);
 
     /**
-    * @brief Slot for display on.
+    * @brief Requests automatic update.
     *
-    * @param on true if on, false otherwise
+    * Makes automatic location update request if user has moved enough.
+    *
+    * @param position geo coordinates
     */
-    void displayOn(bool on);
+    void requestAutomaticUpdateIfMoved(QPointF position);
 
     /**
      * @brief Sets zoom level to default when first GPS location is received if autocentering
@@ -238,13 +240,11 @@ private slots:
     void setFirstStartZoomLevel(QPointF latLonCoordinate, qreal accuracy);
 
     /**
-    * @brief Requests automatic update.
-    *
-    * Makes automatic location update request if user has moved enough.
+    * @brief Automatic update interval timer timeout.
     *
-    * @param position geo coordinates
+    * Requests update location if user has moved.
     */
-    void requestAutomaticUpdateIfMoved(QPointF position);
+    void startAutomaticUpdate();
 
 /*******************************************************************************
  * SIGNALS