homescreenapp/stateplugins/hshomescreenstateplugin/inc/hsidlestate.h
changeset 69 87476091b3f5
parent 63 52b0f64eeb51
child 86 e4f038c420f7
equal deleted inserted replaced
67:474929a40a0f 69:87476091b3f5
    29 #include "hstest_global.h"
    29 #include "hstest_global.h"
    30 HOMESCREEN_TEST_CLASS(HomeScreenStatePluginTest)
    30 HOMESCREEN_TEST_CLASS(HomeScreenStatePluginTest)
    31 
    31 
    32 class QGraphicsItem;
    32 class QGraphicsItem;
    33 class QGraphicsSceneMouseEvent;
    33 class QGraphicsSceneMouseEvent;
    34 class QPropertyAnimation;
    34 
    35 class QGestureEvent;
    35 class QGestureEvent;
    36 class HbAction;
    36 class HbAction;
    37 class HbContinuousFeedback;
    37 class HbContinuousFeedback;
    38 class HsIdleWidget;
    38 
    39 class HsTitleResolver;
    39 class HsTitleResolver;
    40 class QParallelAnimationGroup;
    40 class QParallelAnimationGroup;
    41 class HbMenu;
    41 class HbMenu;
    42 #ifdef Q_OS_SYMBIAN
    42 #ifdef Q_OS_SYMBIAN
    43 class XQSettingsManager;
    43 class XQSettingsManager;
    44 #endif
    44 #endif
    45 
    45 
    46 class HsWidgetHost;
    46 class HsWidgetHost;
    47 class HsPage;
    47 class HsPage;
    48 class HsMessageBoxWrapper;
    48 class HsMessageBoxWrapper;
    49 class HsPropertyAnimationWrapper;
    49 
    50 
    50 
    51 class HsIdleState : public QState
    51 class HsIdleState : public QState
    52 {
    52 {
    53     Q_OBJECT
    53     Q_OBJECT
    54 
    54 
   118     void action_moveScene_connectGestureHandlers();
   118     void action_moveScene_connectGestureHandlers();
   119     void action_moveScene_moveToNearestPage();
   119     void action_moveScene_moveToNearestPage();
   120     void action_moveScene_disconnectGestureHandlers();    
   120     void action_moveScene_disconnectGestureHandlers();    
   121     void action_addPage_addPage();
   121     void action_addPage_addPage();
   122     void action_preRemovePage_showQuery();
   122     void action_preRemovePage_showQuery();
       
   123     void action_preRemovePage_exit();
   123     void action_removePage_startRemovePageAnimation();
   124     void action_removePage_startRemovePageAnimation();
   124     void action_removePage_removePage();
   125     void action_removePage_removePage();
   125     void action_toggleConnection_toggleConnection();
   126     void action_toggleConnection_toggleConnection();
   126     void action_idle_setupTitle();
   127     void action_idle_setupTitle();
   127     void action_idle_cleanupTitle();
   128     void action_idle_cleanupTitle();
   144     void onHorizontalSnapLineTimerTimeout();
   145     void onHorizontalSnapLineTimerTimeout();
   145     void onActivePageChanged();
   146     void onActivePageChanged();
   146    
   147    
   147 private:
   148 private:
   148     HbAction *mNavigationAction;
   149     HbAction *mNavigationAction;
   149     HsIdleWidget *mUiWidget;  
   150     
   150     HsTitleResolver *mTitleResolver;
   151     HsTitleResolver *mTitleResolver;
   151     QPropertyAnimation *mZoneAnimation;
   152   
   152     bool mAllowZoneAnimation;
   153     bool mAllowZoneAnimation;
   153     HsPropertyAnimationWrapper *mPageChangeAnimation;
   154     
   154     HbContinuousFeedback *mContinuousFeedback;
   155     HbContinuousFeedback *mContinuousFeedback;
   155     bool mTrashBinFeedbackAlreadyPlayed;    
   156     bool mTrashBinFeedbackAlreadyPlayed;    
   156     QPointF mPageHotSpot;
   157     QPointF mPageHotSpot;
   157     QPointF mWidgetHotSpot;
   158     QPointF mWidgetHotSpot;
   158     QPointF mWidgetHotSpotOffset;
   159     QPointF mWidgetHotSpotOffset;