Added comments to mapengine.h, mapscene.h and mapview.h.
authorJussi Laitinen <jussi.laitinen@ixonos.com>
Sun, 18 Apr 2010 15:50:45 +0000 (18:50 +0300)
committerJussi Laitinen <jussi.laitinen@ixonos.com>
Sun, 18 Apr 2010 15:50:45 +0000 (18:50 +0300)
src/map/mapengine.h
src/map/mapscene.h
src/map/mapview.h

index 0b74120..d1507ca 100644 (file)
@@ -36,6 +36,7 @@
 * Logic for controlling map functionality. Does also include static methods for
 * converting coordinates.
 * @author Sami Rämö - sami.ramo (at) ixonos.com
+* @author Jussi Laitinen - jussi.laitinen (at) ixonos.com
 */
 class MapEngine : public QObject
 {
index a4692e6..6ee499d 100644 (file)
@@ -29,7 +29,7 @@
 /**
 * @brief Map scene for storing MapTile items
 *
-* \author Sami Rämö - sami.ramo (at) ixonos.com
+* @author Sami Rämö - sami.ramo (at) ixonos.com
 */
 class MapScene : public QGraphicsScene
 {
index 630a6ac..0ecf8a7 100644 (file)
@@ -41,7 +41,7 @@ public:
     MapView(QWidget *parent = 0);
 
 private:
-    //
+
     /**
     * @brief get current horizontal scale (vertical should be same)
     *
@@ -68,6 +68,12 @@ signals:
     */
     void viewScrolled(QPoint sceneCoordinate);
 
+    /**
+    * @brief Signal for view resize events.
+    *
+    * Signal is emitted when view has been resized.
+    * @param size view size
+    */
     void viewResized(const QSize &size);
 
 public slots:
@@ -86,6 +92,12 @@ public slots:
     void setZoomLevel(int zoomLevel);
 
 protected:
+
+    /**
+    * @brief Called when view is resized.
+    *
+    * @event resize event
+    */
     void resizeEvent(QResizeEvent *event);
 
 private slots: