Commit 9e76e285 authored by Jan Möbius's avatar Jan Möbius

Updated Restore and aboutto restore signatures

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@12692 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 89b06d94
......@@ -336,7 +336,9 @@ void BackupPlugin::slotCreateBackup( IdList _objectids , QString _name, std::vec
void BackupPlugin::slotUndo(int _objectid){
emit aboutToRestore(_objectid);
globalBackup_.undo(_objectid);
emit restored(_objectid);
emit updatedObject(_objectid, UPDATE_ALL);
updateButtons();
......@@ -360,7 +362,9 @@ void BackupPlugin::slotUndo(){
void BackupPlugin::slotRedo(int _objectid){
emit aboutToRestore(_objectid);
globalBackup_.redo(_objectid);
emit restored(_objectid);
emit updatedObject(_objectid, UPDATE_ALL);
updateButtons();
......
......@@ -87,9 +87,8 @@ signals:
void undo();
void redo(int _objectid);
void redo();
void aboutToRestore(int _objectid, UpdateType _type);
void restore(int _objectid, UpdateType _type);
void restored(int _objectid, UpdateType _type);
void aboutToRestore(int _objectid);
void restored(int _objectid);
void generateBackup( int _id, QString _name, UpdateType _type);
// ToolBarInterface
......
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