filemanager/src/filemanager/src/backuprestore/fmbackupview.h
branchRCL_3
changeset 20 491b3ed49290
equal deleted inserted replaced
19:95243422089a 20:491b3ed49290
       
     1 /*
       
     2  * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3  * All rights reserved.
       
     4  * This component and the accompanying materials are made available
       
     5  * under the terms of "Eclipse Public License v1.0"
       
     6  * which accompanies this distribution, and is available
       
     7  * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8  *
       
     9  * Initial Contributors:
       
    10  * Nokia Corporation - initial contribution.
       
    11  * 
       
    12  * Contributors:
       
    13  *     
       
    14  * 
       
    15  * Description:
       
    16  *     The header file of the back up view of file manager
       
    17  */
       
    18 
       
    19 #ifndef FMBACKUPVIEW_H
       
    20 #define FMBACKUPVIEW_H
       
    21 
       
    22 #include "fmoperationservice.h"
       
    23 #include "fmviewbase.h"
       
    24 
       
    25 class FmBackupWidget;
       
    26 class FmOperationService;
       
    27 
       
    28 class HbAction;
       
    29 
       
    30 class FmBackupView : public FmViewBase
       
    31 {
       
    32     Q_OBJECT
       
    33 
       
    34 public:
       
    35     FmBackupView();
       
    36     ~FmBackupView();
       
    37     
       
    38 signals:
       
    39     void activateRestoreView();
       
    40 
       
    41 private:
       
    42     void initMenu();
       
    43     void initMainWidget();
       
    44     void initToolBar();
       
    45     
       
    46     void removeToolBarAction();
       
    47 
       
    48 public slots:
       
    49     void refreshBackupDate();
       
    50     void refreshModel();
       
    51     
       
    52 private slots:
       
    53     void on_leftAction_triggered();
       
    54 
       
    55     void on_backupAction_triggered();
       
    56     void on_deleteBackupAction_triggered();
       
    57 
       
    58 #ifdef FM_CHANGE_ORIENT_ENABLE
       
    59     void on_rotateAction_triggered();
       
    60 #endif
       
    61 
       
    62 private:
       
    63     FmBackupWidget *mMainWidget;
       
    64     FmOperationService *mOperationService;
       
    65     
       
    66     HbAction *mToolBarAction;
       
    67 };
       
    68 
       
    69 #endif
       
    70