filemanager/src/fmbkupenginewrapper/src/fmrestoresettings.cpp
changeset 49 81668a704644
parent 25 b7bfdea70ca2
equal deleted inserted replaced
47:12b82dc0e8db 49:81668a704644
    58 {
    58 {
    59     resetAndDestoryRestoreEntry();
    59     resetAndDestoryRestoreEntry();
    60 
    60 
    61     QList< FmRestoreInfo > restoreInfoList;
    61     QList< FmRestoreInfo > restoreInfoList;
    62     
    62     
    63     QString targetDrive = mEngine.BackupSettingsL()->availableTargetDrive();
    63     QString targetDrive = mEngine.BackupSettings()->availableTargetDrive();
    64     mEngine.GetRestoreInfoArray( drivesAndOperationList, restoreInfoList, targetDrive );
    64     mEngine.GetRestoreInfoArray( drivesAndOperationList, restoreInfoList, targetDrive );
    65     
    65     
    66 
    66 
    67     // fetch info list from engine, and then init the entry list for display
    67     // fetch info list from engine, and then init the entry list for display
    68 
    68 
    96         const quint64& aSelection )
    96         const quint64& aSelection )
    97     {
    97     {
    98     iSelection = aSelection;
    98     iSelection = aSelection;
    99     }
    99     }
   100 
   100 
   101 void FmRestoreSettings::GetSelectionL(
   101 void FmRestoreSettings::GetSelection(
   102         QList< FmRestoreInfo >& infoArray ) const
   102         QList< FmRestoreInfo >& infoArray ) const
   103 {
   103 {
   104     infoArray.clear();
   104     infoArray.clear();
   105 
   105 
   106     int count( mRestoreEntryList.count() );
   106     int count( mRestoreEntryList.count() );