99 virtual void undo(
int _objectid) {};
107 virtual void redo(
int _objectid) {};
virtual void generateBackup(int _id, QString _name, UpdateType _type)
This signal is emitted by a BackupPlugin and tells a TypePlugin to generate a backup.
virtual void slotUndo(int _objectid)
Undo the last action of an object.
virtual void aboutToRestore(int _objectid)
Backup Plugin tells other Plugins that a restore will happen.
virtual void redo()
Tell Backup Plugin to redo the last action.
virtual void createBackup(IdList _objectids, QString _name, std::vector< UpdateType > _types)
Tell Backup Plugin to create a group backup.
const UpdateType UPDATE_ALL(UpdateTypeSet(1))
Identifier for all updates.
virtual void restored(int _objectid)
Backup Plugin tells other Plugins that a restore has happened.
virtual void slotCreateBackup(int _objectid, QString _name, UpdateType _type=UPDATE_ALL)
Backup for an object requested.
virtual ~BackupInterface()
Destructor.
virtual void undo()
Tell Backup Plugin to undo the last action.
std::vector< int > IdList
Standard Type for id Lists used for scripting.
virtual void slotRedo(int _objectid)
Redo the last action on an object.
virtual void slotRedo()
Redo the last action.
virtual void slotCreateBackup(IdList _objectids, QString _name, std::vector< UpdateType > _types)
Backup for an object requested.
virtual void redo(int _objectid)
Tell Backup Plugin to redo the last action on an object.
virtual void slotUndo()
Undo the last action.
virtual void createBackup(int _objectid, QString _name, UpdateType _type=UPDATE_ALL)
Tell Backup Plugin to create a backup.
virtual void slotAboutToRestore(int _objectid)
A given object will be restored.
virtual void undo(int _objectid)
Tell Backup Plugin to undo the last action of an object.
virtual void slotRestored(int _objectid)
Object fully restored.
Interface class for backup handling.