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 |
134 CxeVideoCaptureControl *mVideoCaptureControl; |
139 CxeVideoCaptureControl *mVideoCaptureControl; |
135 HbMenu *mMenu; // own |
140 HbMenu *mMenu; // own |
136 QPropertyAnimation* mRecordingAnimation; //For recording indicator |
141 QPropertyAnimation* mRecordingAnimation; //For recording indicator |
137 |
142 |
138 bool mCapturePending; |
143 bool mCapturePending; |
|
144 QTimer mPauseTimer; |
139 }; |
145 }; |
140 |
146 |
141 #endif // CXUIVIDEOPRECAPTUREVIEW_H |
147 #endif // CXUIVIDEOPRECAPTUREVIEW_H |