camerauis/cameraxui/cxui/inc/cxuiviewmanager.h
changeset 36 b12f3922a74f
parent 21 fa6d9f75d6a6
child 37 64817133cd1d
equal deleted inserted replaced
32:5c1e3c6aa4ef 36:b12f3922a74f
    54     /**
    54     /**
    55     * Get a pointer to the document loader instance.
    55     * Get a pointer to the document loader instance.
    56     */
    56     */
    57     CxuiDocumentLoader* documentLoader();
    57     CxuiDocumentLoader* documentLoader();
    58 
    58 
       
    59     //@todo: Temporarily needed in main().
       
    60     bool proceedStartup();
       
    61 
    59 public slots:
    62 public slots:
    60     void changeToPostcaptureView();
    63     void changeToPostcaptureView();
    61     void changeToPrecaptureView();
    64     void changeToPrecaptureView();
    62     void switchCamera();
    65     void switchCamera();
    63     void createPostcaptureView();
    66     void createPostcaptureView();
    64     void showScenesView();
    67     void showScenesView();
    65 
    68 
    66 private slots:
    69 private slots:
       
    70     void startupCheck();
    67     void toForeground();
    71     void toForeground();
    68     void handleForegroundStateChanged(CxuiApplicationFrameworkMonitor::ForegroundState state);
    72     void handleForegroundStateChanged(CxuiApplicationFrameworkMonitor::ForegroundState state);
       
    73     void showUsbErrorPopup(bool show);
    69     void handleBatteryEmpty();
    74     void handleBatteryEmpty();
    70     void aboutToLooseFocus();
    75     void aboutToLooseFocus();
    71     void aboutToGainFocus();
    76     void aboutToGainFocus();
    72 
    77 
    73 signals:
    78 signals:
    79 
    84 
    80 protected:
    85 protected:
    81     bool eventFilter(QObject *object, QEvent *event);
    86     bool eventFilter(QObject *object, QEvent *event);
    82 
    87 
    83 private:
    88 private:
       
    89     void initStartupView();
    84     void createStillPrecaptureView();
    90     void createStillPrecaptureView();
    85     void createVideoPrecaptureView();
    91     void createVideoPrecaptureView();
    86     CxuiPrecaptureView* getPrecaptureView(Cxe::CameraMode mode, Cxe::CameraIndex camera);
    92     CxuiPrecaptureView* getPrecaptureView(Cxe::CameraMode mode, Cxe::CameraIndex camera);
    87 
    93 
    88     void createSceneModesView();
    94     void createSceneModesView();