mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
undo: add device related undo commands
Add commands for deleting devices and editing device nicknames to include the device-handling in the undo system. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
572e2678a0
commit
faebb53909
9 changed files with 140 additions and 1 deletions
|
@ -138,7 +138,12 @@ void setPictureOffset(dive *d, const QString &filename, offset_t offset);
|
|||
void removePictures(const std::vector<PictureListForDeletion> &pictures);
|
||||
void addPictures(const std::vector<PictureListForAddition> &pictures);
|
||||
|
||||
// 8) Filter commands
|
||||
// 8) Device commands
|
||||
|
||||
void removeDevice(int idx);
|
||||
void editDeviceNickname(int idx, const QString &nickname);
|
||||
|
||||
// 9) Filter commands
|
||||
|
||||
void createFilterPreset(const QString &name, const FilterData &data);
|
||||
void removeFilterPreset(int index);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue