filemanager/src/fmbkupenginewrapper/src/fmbkupengine.cpp
changeset 25 b7bfdea70ca2
parent 16 ada7962b4308
child 49 81668a704644
equal deleted inserted replaced
16:ada7962b4308 25:b7bfdea70ca2
    28 {
    28 {
    29     connect( d, SIGNAL( notifyPreparing( bool ) ), this, SIGNAL( notifyPreparing( bool ) ) );
    29     connect( d, SIGNAL( notifyPreparing( bool ) ), this, SIGNAL( notifyPreparing( bool ) ) );
    30 	connect( d, SIGNAL( notifyStart( bool, int ) ), this, SIGNAL( notifyStart( bool, int ) ) );
    30 	connect( d, SIGNAL( notifyStart( bool, int ) ), this, SIGNAL( notifyStart( bool, int ) ) );
    31 	connect( d, SIGNAL( notifyUpdate(int) ), this, SIGNAL( notifyUpdate(int) ) );
    31 	connect( d, SIGNAL( notifyUpdate(int) ), this, SIGNAL( notifyUpdate(int) ) );
    32 	connect( d, SIGNAL( notifyFinish(int) ), 
    32 	connect( d, SIGNAL( notifyFinish(int) ), 
    33 			this, SIGNAL( notifyFinish(int) ) );
    33 			this, SIGNAL( notifyFinish(int) ), Qt::DirectConnection );
    34 	connect( d, SIGNAL( notifyMemoryLow(int, int& ) ), this, SIGNAL( notifyMemoryLow(int, int&) ) );
    34 	connect( d, SIGNAL( notifyMemoryLow(int, int& ) ), this, SIGNAL( notifyMemoryLow(int, int&) ) );
    35 	connect( d, SIGNAL( notifyBackupFilesExist( bool& )), this, SIGNAL( notifyBackupFilesExist( bool&) ) );
    35 	connect( d, SIGNAL( notifyBackupFilesExist( bool& )), this, SIGNAL( notifyBackupFilesExist( bool&) ) );
    36 }
    36 }
    37 
    37 
    38 
    38 
    86     return iRestoreSettings;
    86     return iRestoreSettings;
    87 }
    87 }
    88     
    88     
    89 void FmBkupEngine::GetRestoreInfoArray( QList<FmBkupDrivesAndOperation* > &drivesAndOperationList,
    89 void FmBkupEngine::GetRestoreInfoArray( QList<FmBkupDrivesAndOperation* > &drivesAndOperationList,
    90         QList< FmRestoreInfo > &restoreInfoList,
    90         QList< FmRestoreInfo > &restoreInfoList,
    91         const int aDrive )
    91         const QString& aDrive )
    92 {
    92 {
    93     d->GetRestoreInfoArray( drivesAndOperationList, restoreInfoList, aDrive );
    93     d->GetRestoreInfoArray( drivesAndOperationList, restoreInfoList, aDrive );
    94 }
    94 }
    95 
    95 
    96 int FmBkupEngine::deleteBackup( QList<FmBkupDrivesAndOperation* > drivesAndOperationList )
    96 int FmBkupEngine::deleteBackup( QList<FmBkupDrivesAndOperation* > drivesAndOperationList )