filemanager/src/fmbkupenginewrapper/src/fmbkupengine.cpp
changeset 16 ada7962b4308
parent 14 1957042d8c7e
child 18 edd66bde63a4
child 25 b7bfdea70ca2
--- a/filemanager/src/fmbkupenginewrapper/src/fmbkupengine.cpp	Fri Apr 16 14:53:38 2010 +0300
+++ b/filemanager/src/fmbkupenginewrapper/src/fmbkupengine.cpp	Mon May 03 12:24:39 2010 +0300
@@ -32,6 +32,7 @@
 	connect( d, SIGNAL( notifyFinish(int) ), 
 			this, SIGNAL( notifyFinish(int) ) );
 	connect( d, SIGNAL( notifyMemoryLow(int, int& ) ), this, SIGNAL( notifyMemoryLow(int, int&) ) );
+	connect( d, SIGNAL( notifyBackupFilesExist( bool& )), this, SIGNAL( notifyBackupFilesExist( bool&) ) );
 }
 
 
@@ -71,7 +72,7 @@
 {
     if ( !iBackupSettings )
         {
-        iBackupSettings = new FmBackupSettings();
+        iBackupSettings = new FmBackupSettings( this );
         }
     return iBackupSettings;
 }
@@ -88,13 +89,18 @@
 void FmBkupEngine::GetRestoreInfoArray( QList<FmBkupDrivesAndOperation* > &drivesAndOperationList,
         QList< FmRestoreInfo > &restoreInfoList,
         const int aDrive )
-    {
+{
     d->GetRestoreInfoArray( drivesAndOperationList, restoreInfoList, aDrive );
-    }
+}
 
 int FmBkupEngine::deleteBackup( QList<FmBkupDrivesAndOperation* > drivesAndOperationList )
-    {
+{
     return d->deleteBackup( drivesAndOperationList );
-    }
+}
 
 
+void FmBkupEngine::getBackupDriveList( QStringList &driveList )
+{
+    d->getBackupDriveList( driveList );
+}
+