Home · All Classes · Main Classes · Deprecated
Public Types | Public Member Functions | Protected Member Functions

MAbstractWidgetAnimation Class Reference

MAbstractWidgetAnimation class is a base class for all widget animations. More...

Inherits MParallelAnimationGroup.

List of all members.

Public Types

enum  TransitionDirection { In, Out }

Public Member Functions

 MAbstractWidgetAnimation (QObject *parent=NULL)
virtual ~MAbstractWidgetAnimation ()
virtual void restoreTargetWidgetState ()=0
virtual void setTargetWidget (MWidgetController *widget)
virtual void setTransitionDirection (MAbstractWidgetAnimation::TransitionDirection direction)=0
MWidgetControllertargetWidget ()
const MWidgetControllertargetWidget () const

Protected Member Functions

 MAbstractWidgetAnimation (MAbstractWidgetAnimationPrivate *dd, QObject *parent)

Detailed Description

MAbstractWidgetAnimation class is a base class for all widget animations.


Member Enumeration Documentation

This enum defines the direction of the widget animation.

Enumerator:
In 

transitioning into the screen/display

Out 

transitioning out of the screen/display


Constructor & Destructor Documentation

MAbstractWidgetAnimation::MAbstractWidgetAnimation ( MAbstractWidgetAnimationPrivate *  dd,
QObject parent 
) [protected]

Constructs the widget animation.

This constructor is meant to be used inside the libmeegotouch to share the private data class pointer.

MAbstractWidgetAnimation::MAbstractWidgetAnimation ( QObject parent = NULL  ) 

Constructs the widget animation.

MAbstractWidgetAnimation::~MAbstractWidgetAnimation (  )  [virtual]

Destructs the widget animation.


Member Function Documentation

virtual void MAbstractWidgetAnimation::restoreTargetWidgetState (  )  [pure virtual]

Restores the properties of the target widget back to their original state, before the animation changed them.

void MAbstractWidgetAnimation::setTargetWidget ( MWidgetController widget  )  [virtual]
virtual void MAbstractWidgetAnimation::setTransitionDirection ( MAbstractWidgetAnimation::TransitionDirection  direction  )  [pure virtual]
MWidgetController * MAbstractWidgetAnimation::targetWidget (  ) 
const MWidgetController * MAbstractWidgetAnimation::targetWidget (  )  const

Copyright © 2010 Nokia Corporation
MeeGo Touch