BaseLocationItem Class Reference

Baseclass for showing own and friends locations on the map. More...

#include <baselocationitem.h>

Inheritance diagram for BaseLocationItem:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 BaseLocationItem (QObject *parent=0)
 Constructor of BaseLocationItem. Sets parent.
QRect sceneTransformedBoundingRect (int zoomLevel) const
 Return item sceneBoundingRect transformed to given zoom level.

Detailed Description

Baseclass for showing own and friends locations on the map.

Author:
Ville Tiensuu - ville.tiensuu@ixonos.com
Sami Rämö - sami.ramo@ixonos.com

Constructor & Destructor Documentation

BaseLocationItem::BaseLocationItem ( QObject *  parent = 0  ) 

Constructor of BaseLocationItem. Sets parent.

Parameters:
parent 

Member Function Documentation

QRect BaseLocationItem::sceneTransformedBoundingRect ( int  zoomLevel  )  const

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.

Parameters:
zoomLevel Zoom level for which the sceneBoundingRect should be transformed
Returns:
sceneBoundingRect transformed to given zoom level

The documentation for this class was generated from the following files:

Generated on Thu Jun 10 09:44:02 2010 for Situare client for Maemo by  doxygen 1.6.1