subsurface/commands
Berthold Stoeger ee553e059d Filter: move actual filtering loop to core/divefilter.cpp
The DiveFilter class defined the showDive() function to test
whether a dive should be filtered or not. This was used in
DiveTripModel to loop over all dives or all dives affected by
an editing action.

This restricts us in how we do filtering: We can't use indexes
that give us directly the result. To make the filtering more
flexible, move the actual loops that do the filtering to
the DiveFilter class.

The undo-commands likewise called directly the showDive()
function to check whether newly added dives are shown.
Use the new interface here as well.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2020-02-22 15:18:31 -08:00
..
CMakeLists.txt Selection: move commands/command_private.* to core/selection.* 2019-12-04 13:00:23 +01:00
command.cpp core: read and write the user-specified salinity 2020-01-06 07:00:34 +09:00
command.h Cleanup: remove const bool parameters and return types 2020-02-09 12:13:18 -08:00
command_base.cpp Cleanup: lower-case filenames in core/subsurface-qt/ 2020-02-04 02:16:46 +01:00
command_base.h Refactoring: move undo commands to top level 2019-11-14 21:02:07 +01:00
command_divelist.cpp Filter: move actual filtering loop to core/divefilter.cpp 2020-02-22 15:18:31 -08:00
command_divelist.h Refactoring: move undo commands to top level 2019-11-14 21:02:07 +01:00
command_divesite.cpp Cleanup: lower-case filenames in core/subsurface-qt/ 2020-02-04 02:16:46 +01:00
command_divesite.h Refactoring: move undo commands to top level 2019-11-14 21:02:07 +01:00
command_edit.cpp code cleanup: remove unused member variable 2020-01-10 02:37:03 +09:00
command_edit.h Cleanup: lower-case filenames in core/subsurface-qt/ 2020-02-04 02:16:46 +01:00
command_edit_trip.cpp Selection: move commands/command_private.* to core/selection.* 2019-12-04 13:00:23 +01:00
command_edit_trip.h Cleanup: lower-case filenames in core/subsurface-qt/ 2020-02-04 02:16:46 +01:00