Berthold Stoeger 6f574c53a3 Undo: implement undo of dive site editing
This one is a bit more tricky. There are two modes: set dive site
and set newly created dive site. This is realized using an OO model
with derived classed. Quite convoluted - but it seems to work.

Moreover, editing a dive site is not simply setting a value,
but the list of dives in a dive site has to be kept up to date.

Finally, we have to inform the dive site list of the changed
number of dives. Therefore add a new signal diveSiteDivesChanged.
To send only one signal per dive site, hook into the undo() and
redo() functions and call the functions of the base class there.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2019-04-12 18:19:07 +03:00
..
2019-04-04 09:33:56 -07:00
2018-07-18 02:09:15 +03:00
2019-04-12 18:19:07 +03:00
2017-04-29 13:32:55 -07:00
2018-08-23 05:16:38 -07:00
2018-10-21 19:55:09 +03:00
2018-10-21 19:55:09 +03:00
2018-10-21 19:55:09 +03:00
2019-04-12 18:19:07 +03:00
2018-08-23 05:16:38 -07:00
2019-02-05 14:18:14 +01:00
2019-04-12 12:59:17 +03:00
2019-04-12 12:59:17 +03:00
2017-04-29 13:32:55 -07:00
2019-04-04 09:33:56 -07:00
2019-04-04 09:33:56 -07:00
2018-05-30 21:47:07 -07:00
2017-04-29 13:32:55 -07:00
2017-04-29 13:32:55 -07:00
2019-01-16 02:38:30 +01:00