filemanager/src/filemanager/src/fmdriverview.h
branchRCL_3
changeset 39 65326cf895ed
parent 38 491b3ed49290
child 42 f5c50b8af68c
equal deleted inserted replaced
38:491b3ed49290 39:65326cf895ed
     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  *     Zhiqiang Yang <zhiqiang.yang@nokia.com>
       
    14  * 
       
    15  * Description:
       
    16  *     The header file of File Manager driver view
       
    17  */
       
    18 
       
    19 #ifndef FMDRIVERVIEW_H
       
    20 #define FMDRIVERVIEW_H
       
    21 
       
    22 #include "fmcommon.h"
       
    23 #include "fmviewbase.h"
       
    24 
       
    25 class FmDriverListWidget;
       
    26 class FmOperationService;
       
    27 class HbSearchPanel;
       
    28 class HbAction;
       
    29 
       
    30 class FmDriverView : public FmViewBase
       
    31 {
       
    32     Q_OBJECT
       
    33 public:
       
    34     FmDriverView();
       
    35     virtual ~FmDriverView();
       
    36     
       
    37 private slots:
       
    38     void on_leftAction_triggered();
       
    39     void on_rightAction_triggered();
       
    40     void on_exitAction_triggered();
       
    41     void on_backupAction_triggered();
       
    42     void on_restoreAction_triggered();
       
    43     void on_findAction_triggered();
       
    44 
       
    45     void activated( const QString &pathName );
       
    46     void refreshDrive();
       
    47     void startSearch( const QString &targetPath, const QString &criteria );
       
    48 
       
    49 #ifdef FM_CHANGE_ORIENT_ENABLE
       
    50     void on_rotateAction_triggered();
       
    51 #endif
       
    52 
       
    53 private:
       
    54     void initMenu();
       
    55     void initDiskListWidget();
       
    56     void initToolBar();
       
    57     
       
    58     void removeToolBarAction();
       
    59     
       
    60 private:
       
    61     FmDriverListWidget *mDriverList;
       
    62     HbSearchPanel* mSearchPanel;
       
    63     
       
    64     HbAction *mToolBarLeftAction;
       
    65     HbAction *mToolBarRightAction;
       
    66 };
       
    67 
       
    68 #endif
       
    69