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