subsurface/qt-models
Berthold Stoeger 5c7cfb1057 core: replace list of dives in trip by std::vector<>
The dive_table will be converted into a table of owning pointers.
Since the trip has only non-owning pointers to dives, turn
its dive_table into an std::vector<dive *>.

Add a helper functions to add/remove items in a sorted list.
These could be used elsewhere.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2024-08-13 19:28:30 +02:00
..
cleanertablemodel.cpp
cleanertablemodel.h
CMakeLists.txt
completionmodels.cpp core: turn struct dive string data into std::string 2024-08-13 19:28:30 +02:00
completionmodels.h
cylindermodel.cpp core: convert cylinder_t and cylinder_table to C++ 2024-08-13 19:28:30 +02:00
cylindermodel.h
divecomputerextradatamodel.cpp core: convert dive computer extra data to C++ 2024-08-13 19:28:30 +02:00
divecomputerextradatamodel.h core: convert dive computer extra data to C++ 2024-08-13 19:28:30 +02:00
diveimportedmodel.cpp divelog: turn owning-pointers into unique_ptr<>s 2024-08-13 19:28:30 +02:00
diveimportedmodel.h
divelocationmodel.cpp core: move get_distance() from divesite.cpp to units.cpp 2024-08-13 19:28:30 +02:00
divelocationmodel.h core: replace divesite_table_t by a vector of std::unique_ptr<>s 2024-08-13 19:28:30 +02:00
divepicturemodel.cpp core: turn picture-table into std::vector<> 2024-08-13 19:28:30 +02:00
divepicturemodel.h core: turn picture-table into std::vector<> 2024-08-13 19:28:30 +02:00
diveplannermodel.cpp core: turn struct dive string data into std::string 2024-08-13 19:28:30 +02:00
diveplannermodel.h
divesiteimportmodel.cpp import: initialize DiveSiteImportModel in constructor 2024-08-13 19:28:30 +02:00
divesiteimportmodel.h import: initialize DiveSiteImportModel in constructor 2024-08-13 19:28:30 +02:00
divesummarymodel.cpp core: convert cylinder_t and cylinder_table to C++ 2024-08-13 19:28:30 +02:00
divesummarymodel.h
divetripmodel.cpp core: replace list of dives in trip by std::vector<> 2024-08-13 19:28:30 +02:00
divetripmodel.h cleanup: remove unused roles in DiveTripModelBase 2024-06-05 09:16:32 +12:00
filterconstraintmodel.cpp
filterconstraintmodel.h
filtermodels.cpp
filtermodels.h
filterpresetmodel.cpp
filterpresetmodel.h
maplocationmodel.cpp map: use value semantics for MapLocation 2024-08-13 19:28:30 +02:00
maplocationmodel.h map: use value semantics for MapLocation 2024-08-13 19:28:30 +02:00
messagehandlermodel.cpp
messagehandlermodel.h
mobilelistmodel.cpp
mobilelistmodel.h
models.cpp
models.h
tankinfomodel.cpp core: use C++ structures for tanksystem info 2024-08-13 19:28:30 +02:00
tankinfomodel.h
treemodel.cpp
treemodel.h
weightmodel.cpp core: convert weightsystem_t and weightsystem_table to C++ 2024-08-13 19:28:30 +02:00
weightmodel.h
weightsysteminfomodel.cpp core: use C++ structures for weightsystem info 2024-08-13 19:28:30 +02:00
weightsysteminfomodel.h core: use C++ structures for weightsystem info 2024-08-13 19:28:30 +02:00
yearlystatisticsmodel.cpp core: C++-ify statistics.c 2024-08-13 19:28:30 +02:00
yearlystatisticsmodel.h