camerauis/cameraxui/cxui/inc/cxuivideoprecaptureview.h
changeset 48 42ba2d16bf40
parent 37 64817133cd1d
child 63 415ff50d2eca
--- a/camerauis/cameraxui/cxui/inc/cxuivideoprecaptureview.h	Tue Jul 06 14:04:02 2010 +0300
+++ b/camerauis/cameraxui/cxui/inc/cxuivideoprecaptureview.h	Wed Aug 18 09:37:18 2010 +0300
@@ -45,27 +45,13 @@
 
 public:
 
-    /**
-     * Construct-method handles initialisation tasks for this class.
-     * @param mainwindow
-     * @param engine
-     * @param documentLoader
-     * @param keyHandler
-     */
     void construct(HbMainWindow *mainwindow, CxeEngine *engine,
                    CxuiDocumentLoader *documentLoader,
                    CxuiCaptureKeyHandler *keyHandler,
                    HbActivityManager *activityManager);
 
-    /**
-     * Loads widgets that are needed right from the start.
-     */
     virtual void loadDefaultWidgets();
 
-    /**
-     * Loads widgets that are not part of the default section in layouts xml.
-     * Widgets are created at the time they are first loaded.
-     */
     virtual void loadWidgets();
 
     void restoreActivity(const QString &activityId, const QVariant &data);
@@ -77,12 +63,11 @@
     // from CxuiPrecaptureView
     virtual void handleSettingValueChanged(const QString& key, QVariant newValue);
 
-    void handleSceneChanged(CxeScene &scene);
+    void handleSceneChanged(const QVariant &scene);
     void handleQuitClicked();
 
 protected slots:
 
-    void handleSnapshot(CxeError::Id error);
     void record();
     void pause();
     void stop();
@@ -100,7 +85,7 @@
 
 protected:
 
-    void setVideoTime(HbLabel* label, int time);
+    void setVideoTime(HbLabel* label, int elapsedTime, int remainingTime);
     bool getElapsedTime();
     void getRemainingTime();
     bool allowShowControls() const;
@@ -113,18 +98,19 @@
     bool isPostcaptureOn() const;
     void updateSceneIcon(const QString& sceneId);
     void updateQualityIcon();
-    void setRecordingItemsVisibility(bool visible);
 
     // from QObject
     bool eventFilter(QObject *object, QEvent *event);
 
+private:
+    void reloadIndicatorWidgets();
+
 protected:
     QTimer mElapsedTimer;
     int mTimeElapsed;
     int mTimeRemaining;
 
-    HbLabel *mElapsedTimeText; // not own
-    HbLabel *mRemainingTimeText; // not own
+    HbLabel *mVideoTimeText; // not own
     HbLabel *mRecordingIcon; // not own
     HbAction *mGoToStillAction; // not own
     HbToolBar *mToolbarIdle; // not own