51 QList<FmBkupBackupCategory*> backupCategoryList, |
51 QList<FmBkupBackupCategory*> backupCategoryList, |
52 QString drive, quint32 content) |
52 QString drive, quint32 content) |
53 { |
53 { |
54 return d->startBackup( drivesAndOperationList, backupCategoryList, drive, content ); |
54 return d->startBackup( drivesAndOperationList, backupCategoryList, drive, content ); |
55 } |
55 } |
|
56 |
56 void FmBkupEngine::cancelBackup() |
57 void FmBkupEngine::cancelBackup() |
57 { |
58 { |
58 d->cancelBackup(); |
59 d->cancelBackup(); |
59 } |
60 } |
|
61 |
60 bool FmBkupEngine::startRestore( QList<FmBkupDrivesAndOperation* > drivesAndOperationList ) |
62 bool FmBkupEngine::startRestore( QList<FmBkupDrivesAndOperation* > drivesAndOperationList ) |
61 { |
63 { |
62 return d->StartRestoreL( drivesAndOperationList ); |
64 return d->startRestore( drivesAndOperationList ); |
63 } |
65 } |
64 |
|
65 |
66 |
66 int FmBkupEngine::error() const |
67 int FmBkupEngine::error() const |
67 { |
68 { |
68 return d->error(); |
69 return d->error(); |
69 } |
70 } |
70 |
71 |
71 FmBackupSettings *FmBkupEngine::BackupSettingsL() |
72 FmBackupSettings *FmBkupEngine::BackupSettings() |
72 { |
73 { |
73 if ( !iBackupSettings ) |
74 if ( !iBackupSettings ) |
74 { |
75 { |
75 iBackupSettings = new FmBackupSettings( this ); |
76 iBackupSettings = new FmBackupSettings( this ); |
76 } |
77 } |
77 return iBackupSettings; |
78 return iBackupSettings; |
78 } |
79 } |
79 |
80 |
80 FmRestoreSettings *FmBkupEngine::RestoreSettingsL() |
81 FmRestoreSettings *FmBkupEngine::RestoreSettings() |
81 { |
82 { |
82 if ( !iRestoreSettings ) |
83 if ( !iRestoreSettings ) |
83 { |
84 { |
84 iRestoreSettings = new FmRestoreSettings( *this ); |
85 iRestoreSettings = new FmRestoreSettings( *this ); |
85 } |
86 } |