Commit f2ff9d8a authored by Jan Möbius's avatar Jan Möbius
Browse files

Updated documentation



git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@12694 383ad7c9-94d9-4d36-a494-682f7c89f535
parent d94554d4
...@@ -265,7 +265,7 @@ redo operations which get managed by the backup plugin. ...@@ -265,7 +265,7 @@ redo operations which get managed by the backup plugin.
\section backupInterfacePage_generatingBackups Generating Backups \section backupInterfacePage_generatingBackups Generating Backups
To generate a backup of a specific object, you just have to derive from the BackupInterface and emit the To generate a backup of a specific object, you just have to derive from the BackupInterface and emit the
createBackup() signal. a simple example looks like this: BackupInterface::createBackup() signal. A simple example looks like this:
\code \code
emit createBackup(object->id(),"Smoothing", UPDATE_GEOMETRY ); emit createBackup(object->id(),"Smoothing", UPDATE_GEOMETRY );
...@@ -278,11 +278,14 @@ It is also possible to create backup groups. This is required, if you change sev ...@@ -278,11 +278,14 @@ It is also possible to create backup groups. This is required, if you change sev
they should be restored only together. they should be restored only together.
\section backupInterfacePage_restoringBackups Restoring Backups \section backupInterfacePage_restoringBackups Restoring Backups
Backups can be restored and re-applied. You can simply emit the undo() signal and the last backup will be Backups can be restored and re-applied. You can simply emit the BackupInterface::undo() signal and the
restored. redo() will re apply the last operation stored. It is also possible to restore backups of a specific last backup will be restored. BackupInterface::redo() will re apply the last operation stored. It is
object via undo(int) and redo(int), if they are not blocked by a group backup which can only be reverted as one also possible to restore backups of a specific object via BackupInterface::undo(int) and
operation. BackupInterface::redo(int), if they are not blocked by a group backup which can only be reverted as one
operation.\n
The other plugins will be informed about a restore operation by BackupInterface::slotAboutToRestore(int)
and BackupInterface::slotRestored(int) which will be emitted directly before and after the restore operation.
\section backupInterfacePage_usage Usage \section backupInterfacePage_usage Usage
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment