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