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