void RestoreOperation::undo()
{
	removePreviewPartition(targetDevice(), restorePartition());

	if (overwrittenPartition())
		insertPreviewPartition(targetDevice(), *overwrittenPartition());
}
Beispiel #2
0
void NewOperation::preview()
{
    insertPreviewPartition(targetDevice(), newPartition());
}
Beispiel #3
0
void DeleteOperation::undo()
{
    checkAdjustLogicalNumbers(deletedPartition(), true);
    insertPreviewPartition(targetDevice(), deletedPartition());
}
void RestoreOperation::preview()
{
	insertPreviewPartition(targetDevice(), restorePartition());
}