filemanager/src/filemanager/src/backuprestore/fmrestorewidget.h
changeset 14 1957042d8c7e
child 21 15299bc55001
child 25 b7bfdea70ca2
equal deleted inserted replaced
1:d1daf54a55b5 14:1957042d8c7e
       
     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 restore widget of file manager
       
    17  */
       
    18 
       
    19 #ifndef FMRESTOREWIDGET_H
       
    20 #define FMRESTOREWIDGET_H
       
    21 
       
    22 #include <hbwidget.h>
       
    23 
       
    24 class HbListView;
       
    25 class QStringListModel;
       
    26 class FmRestoreSettings;
       
    27 class FmBackupConfigLoader;
       
    28 
       
    29 class FmRestoreWigdet : public HbWidget
       
    30 {
       
    31      Q_OBJECT
       
    32 
       
    33 public:
       
    34     FmRestoreWigdet( QGraphicsItem *parent = 0  );
       
    35     ~FmRestoreWigdet();
       
    36 
       
    37     QList<int> selectionIndexes();
       
    38     int backupDataCount();
       
    39 private:
       
    40     void init();
       
    41 
       
    42 signals:
       
    43     void checkStatusChanged();
       
    44 
       
    45 private slots:
       
    46     void on_list_activated( const QModelIndex &index );
       
    47 
       
    48 private:
       
    49     HbListView *mListView;
       
    50     QStringListModel  *mModel;
       
    51 
       
    52     FmRestoreSettings *mRestoreSettings;
       
    53     FmBackupConfigLoader *mBackupConfigLoader;
       
    54 };
       
    55 
       
    56 #endif // FMRESTOREWIDGET_H