equal
deleted
inserted
replaced
43 |
43 |
44 virtual ~CxuiVideoPrecaptureView(); |
44 virtual ~CxuiVideoPrecaptureView(); |
45 |
45 |
46 public: |
46 public: |
47 |
47 |
48 /** |
|
49 * Construct-method handles initialisation tasks for this class. |
|
50 * @param mainwindow |
|
51 * @param engine |
|
52 * @param documentLoader |
|
53 * @param keyHandler |
|
54 */ |
|
55 void construct(HbMainWindow *mainwindow, CxeEngine *engine, |
48 void construct(HbMainWindow *mainwindow, CxeEngine *engine, |
56 CxuiDocumentLoader *documentLoader, |
49 CxuiDocumentLoader *documentLoader, |
57 CxuiCaptureKeyHandler *keyHandler, |
50 CxuiCaptureKeyHandler *keyHandler, |
58 HbActivityManager *activityManager); |
51 HbActivityManager *activityManager); |
59 |
52 |
60 /** |
|
61 * Loads widgets that are needed right from the start. |
|
62 */ |
|
63 virtual void loadDefaultWidgets(); |
53 virtual void loadDefaultWidgets(); |
64 |
54 |
65 /** |
|
66 * Loads widgets that are not part of the default section in layouts xml. |
|
67 * Widgets are created at the time they are first loaded. |
|
68 */ |
|
69 virtual void loadWidgets(); |
55 virtual void loadWidgets(); |
70 |
56 |
71 void restoreActivity(const QString &activityId, const QVariant &data); |
57 void restoreActivity(const QString &activityId, const QVariant &data); |
72 void saveActivity(); |
58 void saveActivity(); |
73 void clearActivity(); |
59 void clearActivity(); |
116 void setRecordingItemsVisibility(bool visible); |
102 void setRecordingItemsVisibility(bool visible); |
117 |
103 |
118 // from QObject |
104 // from QObject |
119 bool eventFilter(QObject *object, QEvent *event); |
105 bool eventFilter(QObject *object, QEvent *event); |
120 |
106 |
|
107 private: |
|
108 void reloadIndicatorWidgets(); |
|
109 |
121 protected: |
110 protected: |
122 QTimer mElapsedTimer; |
111 QTimer mElapsedTimer; |
123 int mTimeElapsed; |
112 int mTimeElapsed; |
124 int mTimeRemaining; |
113 int mTimeRemaining; |
125 |
114 |