Review, updating functional tests
[situare] / src / map / mapview.h
index 2cd627a..6715fa6 100644 (file)
@@ -142,10 +142,8 @@ public slots:
     * Does also shift the center point horizontally, if required.
     *
     * @param coordinate Scene coordinates of the new center point
-    * @param isUserDragAction True if caused by user dragging action. Does not shift the center
-    *                         point if true.
     */
-    void centerToSceneCoordinates(const SceneCoordinate &coordinate, bool isUserDragAction = false);
+    void centerToSceneCoordinates(const SceneCoordinate &coordinate);
 
     /**
     * @brief Set zoom level of the view
@@ -180,7 +178,7 @@ private:
     *
     * @returns Center point
     */
-    QPointF center();
+    QPointF center() const;
 
     /**
     * @brief Set new view scale
@@ -239,9 +237,8 @@ signals:
     *
     * Signal is emitted when view is scrolled.
     * @param coordinate Scene coordinates of the new center point of the view
-    * @param isUserDragAction True if caused by user dragging action
     */
-    void viewScrolled(const SceneCoordinate &coordinate, bool isUserDragAction);
+    void viewScrolled(const SceneCoordinate &coordinate);
 
     /**
     * @brief Signal for informing that zooming animation is finished