diff -r c499df2dbb33 -r 2c833fc9e98f ui/views/fullscreenview/inc/glxcoverflow.h --- a/ui/views/fullscreenview/inc/glxcoverflow.h Mon May 03 12:31:32 2010 +0300 +++ b/ui/views/fullscreenview/inc/glxcoverflow.h Fri May 14 15:52:22 2010 +0300 @@ -30,6 +30,7 @@ class HbMainWindow; class QAbstractItemModel; +class QGestureEvent; typedef enum { NO_MOVE, @@ -46,7 +47,7 @@ EMPTY_ROW_EVENT //send the signal when model have no data } GlxCoverFlowEvent; -class GlxCoverFlow : public HbScrollArea +class GlxCoverFlow : public HbWidget { Q_OBJECT @@ -59,12 +60,10 @@ void setUiOn(bool uiOn) { mUiOn = uiOn; } void partiallyClean(); void partiallyCreate(QAbstractItemModel *model, QSize itemSize); - void rotateImage(); - void setCoverFlow(); + void setCoverFlow(); void ClearCoverFlow(); public slots: - void rotationEffectFinished( const HbEffect::EffectStatus &status ); signals : void coverFlowEvent(GlxCoverFlowEvent e); @@ -84,8 +83,7 @@ void autoRightMove(); protected: - void mousePressEvent(QGraphicsSceneMouseEvent *event); - void mouseReleaseEvent (QGraphicsSceneMouseEvent *event) ; + void gestureEvent(QGestureEvent *event); void move(int value); @@ -103,7 +101,6 @@ //reset all the data of cover flow void resetCoverFlow(); int getSubState(); -private slots: private: HbIconItem *mIconItem[NBR_ICON_ITEM]; //at most contain only five item @@ -117,9 +114,8 @@ bool mUiOn; int mBounceBackDeltaX; QAbstractItemModel *mModel; - GlxUserMove mMoveDir; //arun_goel3 may be remove later or change later - int rotAngle; - + GlxUserMove mMoveDir; + int mSpeed; }; #endif /* GLXCOVERFLOW_H_ */