homescreenapp/hsapplication/inc/hsstatemachine.h
changeset 71 1db7cc813a4e
parent 63 52b0f64eeb51
child 81 7dd137878ff8
equal deleted inserted replaced
69:87476091b3f5 71:1db7cc813a4e
    45     ~HsStateMachine();
    45     ~HsStateMachine();
    46 
    46 
    47 signals:
    47 signals:
    48     void event_exit();
    48     void event_exit();
    49     void event_toIdle();
    49     void event_toIdle();
       
    50     void event_toAppLib();
    50 protected:
    51 protected:
    51     bool eventFilter(QObject *watched, QEvent *event);
    52     bool eventFilter(QObject *watched, QEvent *event);
    52 
    53 
    53 private:
    54 private:
    54     Q_DISABLE_COPY(HsStateMachine)
    55     Q_DISABLE_COPY(HsStateMachine)
    57     void registerAnimations();
    58     void registerAnimations();
    58     void createStatePublisher();
    59     void createStatePublisher();
    59     void createContentServiceParts();
    60     void createContentServiceParts();
    60     void createStates();
    61     void createStates();
    61 	void updatePSKeys();
    62 	void updatePSKeys();
       
    63     void captureEndKey(bool enable); 
    62 
    64 
    63 private slots:
    65 private slots:
    64 	void onIdleStateEntered();
    66 	void onIdleStateEntered();
    65 	void onIdleStateExited();
    67 	void onIdleStateExited();
    66 	void activityRequested(const QString &name);
    68 	void activityRequested(const QString &name);
    69 private:
    71 private:
    70     HsContentService *mContentService;	
    72     HsContentService *mContentService;	
    71 	
    73 	
    72 	bool mHomeScreenActive;
    74 	bool mHomeScreenActive;
    73 	bool mIdleStateActive;
    75 	bool mIdleStateActive;
       
    76     bool mEndKeyCaptured;
    74 
    77 
    75 	QValueSpacePublisher *mPublisher;
    78 	QValueSpacePublisher *mPublisher;
    76 	
    79 	
    77 #ifdef Q_OS_SYMBIAN
    80 #ifdef Q_OS_SYMBIAN
    78     XQKeyCapture keyCapture;
    81     XQKeyCapture keyCapture;