equal
deleted
inserted
replaced
104 */ |
104 */ |
105 void handleBatteryEmpty(); |
105 void handleBatteryEmpty(); |
106 |
106 |
107 void updateTimeLabels(); |
107 void updateTimeLabels(); |
108 |
108 |
|
109 // from CxuiPrecaptureView |
|
110 void hideControls(); |
|
111 |
109 protected: |
112 protected: |
110 |
113 |
111 void setVideoTime(HbLabel* label, int time); |
114 void setVideoTime(HbLabel* label, int time); |
112 bool getElapsedTime(); |
115 bool getElapsedTime(); |
113 void getRemainingTime(); |
116 void getRemainingTime(); |
116 void enableFeedback(); |
119 void enableFeedback(); |
117 |
120 |
118 void initializeSettingsGrid(); |
121 void initializeSettingsGrid(); |
119 void setRecordingItemsVisibility(bool visible); |
122 void setRecordingItemsVisibility(bool visible); |
120 |
123 |
|
124 // from QObject |
|
125 bool eventFilter(QObject *object, QEvent *event); |
121 protected: |
126 protected: |
122 QTimer mElapsedTimer; |
127 QTimer mElapsedTimer; |
123 int mTimeElapsed; |
128 int mTimeElapsed; |
124 int mTimeRemaining; |
129 int mTimeRemaining; |
125 |
130 |
128 HbLabel *mRecordingIcon; // not own |
133 HbLabel *mRecordingIcon; // not own |
129 HbAction *mGoToStillAction; // not own |
134 HbAction *mGoToStillAction; // not own |
130 HbToolBar *mToolBarIdle; // not own |
135 HbToolBar *mToolBarIdle; // not own |
131 HbToolBar *mToolBarRec; // not own |
136 HbToolBar *mToolBarRec; // not own |
132 HbToolBar *mToolBarPaused; // not own |
137 HbToolBar *mToolBarPaused; // not own |
133 HbAction *mToggleLightAction; // not own |
|
134 HbDialog *mVideoScenePopup; |
138 HbDialog *mVideoScenePopup; |
135 CxeVideoCaptureControl *mVideoCaptureControl; |
139 CxeVideoCaptureControl *mVideoCaptureControl; |
136 HbMenu *mMenu; // own |
140 HbMenu *mMenu; // own |
137 QPropertyAnimation* mRecordingAnimation; //For recording indicator |
141 QPropertyAnimation* mRecordingAnimation; //For recording indicator |
138 |
142 |
139 bool mCapturePending; |
143 bool mCapturePending; |
|
144 QTimer mPauseTimer; |
140 }; |
145 }; |
141 |
146 |
142 #endif // CXUIVIDEOPRECAPTUREVIEW_H |
147 #endif // CXUIVIDEOPRECAPTUREVIEW_H |