Fixed bug #5831: Friend groups do not always release friends when zooming in
[situare] / src / map / baselocationitem.h
index 1677a55..72826a1 100644 (file)
 
 
 /**
-  * @brief Baseclass for showing own and friends locations on the map.
-  *
-  * @author Ville Tiensuu - ville.tiensuu@ixonos.com
-  * @author Sami Rämö - sami.ramo@ixonos.com
-  */
+* @brief Baseclass for showing own and friends locations on the map.
+*
+* @author Ville Tiensuu - ville.tiensuu@ixonos.com
+* @author Sami Rämö - sami.ramo@ixonos.com
+*/
 class BaseLocationItem : public QGraphicsPixmapItem, public QObject
-{    
+{
+
 public:
     /**
     * @brief Constructor of BaseLocationItem.
@@ -48,15 +49,15 @@ public:
  ******************************************************************************/
 public:
     /**
-      *@brief Return item sceneBoundingRect transformed to given zoom level
-      *
-      * Because of using ItemIgnoresTransformations, and not scaling the item, the default
-      * sceneBoundingRect does always return the lowest map tile level scene bounding rect which
-      * must be scaled to current zoom level.
-      *
-      * @param zoomLevel Zoom level for which the sceneBoundingRect should be transformed
-      * @return sceneBoundingRect transformed to given zoom level
-      */
+    * @brief Return item rect transformed to given zoom level
+    *
+    * Because of using ItemIgnoresTransformations, and not scaling the item, the default
+    * sceneBoundingRect can't be used because it always returns the lowest map tile level scene
+    * bounding rect. This method does return rect scaled to given zoom level.
+    *
+    * @param zoomLevel Zoom level for which the sceneBoundingRect should be transformed
+    * @return sceneBoundingRect transformed to given zoom level
+    */
     QRect sceneTransformedBoundingRect(int zoomLevel) const;
 };