Re-factored the source to use the new coordinate classes
[situare] / src / map / mapscroller.h
index 1bb1ec6..f28c570 100644 (file)
 #ifndef MAPSCROLLER_H
 #define MAPSCROLLER_H
 
-#include <QPoint>
 #include <QVariantAnimation>
 
+#include "coordinates/scenecoordinate.h"
+
 /**
 * @brief Map scroller
 *
 * Used for kinetic and smooth scroll effects. Class implementation is following the singleton
 * desing pattern.
 *
+* Use QPointF datatype for startValue and endValue. Emitted datatype is SceneCoordinate.
+*
 * @author Sami Rämö - sami.ramo@ixonos.com
 */
 class MapScroller : public QVariantAnimation
@@ -93,7 +96,7 @@ signals:
     *
     * @param coordinate New coordinate value
     */
-    void coordinateUpdated(QPoint coordinate);
+    void coordinateUpdated(SceneCoordinate coordinate);
 };
 
 #endif // MAPSCROLLER_H