Added signals and slots for view location updates
[situare] / src / map / mapview.h
index c1c79e1..4531231 100644 (file)
@@ -50,9 +50,9 @@ private slots:
     /**
     * @brief Slot for mouse move events
     *
-    * Does calculate mouse movement delta from last event position and save
-    * current event position for next round. Calls centerToSceneCoordinates
-    * to actually make the dragging.
+    * Does calculate mouse movement delta from last event position and new view center
+    * based on that delta. Saves current event position for next round. Emits viewScrolled
+    * signal and doesn't actually scroll the view.
     * @param event Mouse event
     */
     void mouseMoveEvent(QMouseEvent *event);