MapScroller Class Reference

Map scroller. More...

#include <mapscroller.h>

List of all members.

Signals

void coordinateUpdated (SceneCoordinate coordinate)
 Signal if emitted when coordinate value is updated.

Static Public Member Functions

static MapScrollergetInstance ()
 Get reference to instance of this class.

Private Member Functions

 MapScroller ()
 Constructor in not accessible because class is using singleton design pattern.
 ~MapScroller ()
 Destructor in not accessible because class is using singleton design pattern.
 MapScroller (const MapScroller &)
 Copy constructor in not accessible because class is using singleton design pattern.
MapScrolleroperator= (const MapScroller &)
 Assignment operator in not accessible because class is using singleton design pattern.
void updateCurrentValue (const QVariant &value)
 Reimplemented from QVariantAnimation::updateCurrentValue().

Detailed Description

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

Member Function Documentation

void MapScroller::coordinateUpdated ( SceneCoordinate  coordinate  )  [signal]

Signal if emitted when coordinate value is updated.

Parameters:
coordinate New coordinate value
MapScroller & MapScroller::getInstance (  )  [static]

Get reference to instance of this class.

Also registers the custom SceneCoordinate interpolator method.

Returns:
reference to instance of this class
void MapScroller::updateCurrentValue ( const QVariant &  value  )  [private]

Reimplemented from QVariantAnimation::updateCurrentValue().

Called every time the animation's current value changes. Does emit coordinateUpdated() signal if animation is in the running state.

Parameters:
value New value

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

Generated on Fri Sep 3 12:05:41 2010 for Situare client for Maemo by  doxygen 1.6.1