subsurface/qt-models
Berthold Stoeger 6b835710bc map: use value semantics for MapLocation
This makes memory management more simple, as not explicit deletion
is necessary.

A rather large commit, because changing QVector<> to std::vector<>
is propagated up the call chain.

Adds a new range_contains() helper function for collection
types such as std::vector<>. I didn't want to call it
contains(), since we already have a contains function
for strings and let's keep argument overloading simple.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2024-08-13 19:28:30 +02:00
..
cleanertablemodel.cpp
cleanertablemodel.h CylindersModel: fold CHANGED() macro into setData() 2020-04-07 00:13:35 +02:00
CMakeLists.txt build-system: make map support its own thing 2022-04-18 07:24:38 +02:00
completionmodels.cpp core: use C++-primitives for g_tag_list 2024-04-23 07:47:11 +07:00
completionmodels.h core: replace dive master by dive guide 2022-02-15 09:35:43 -08:00
cylindermodel.cpp core: default initialize units-type objects to 0 2024-08-13 19:28:30 +02:00
cylindermodel.h Equipment: Include Unused Tanks in Merge if Preference is Enabled. 2023-07-25 11:19:03 +12:00
divecomputerextradatamodel.cpp cleanup: split out divecomputer functions from dive.c 2020-10-25 13:59:52 -07:00
divecomputerextradatamodel.h cleanup: generalize ExtraDataModel to display data of any dc 2020-05-07 08:46:15 -07:00
diveimportedmodel.cpp core: use divelog struct in downloader code 2023-04-14 21:20:23 +02:00
diveimportedmodel.h core: use divelog in importDives() and process_imported_dives() 2023-04-14 21:20:23 +02:00
divelocationmodel.cpp core: replace divesite_table_t by a vector of std::unique_ptr<>s 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 cleanup: more Coverity silencing 2024-01-17 14:23:19 -08:00
divepicturemodel.h undo: make picture (media) deletion undoable 2020-05-06 13:58:09 -07:00
diveplannermodel.cpp core: default initialize units-type objects to 0 2024-08-13 19:28:30 +02:00
diveplannermodel.h Desktop: Fix Gas Editing for Manually Added Dives. 2024-06-01 23:22:40 +12:00
divesiteimportmodel.cpp core: replace divesite_table_t by a vector of std::unique_ptr<>s 2024-08-13 19:28:30 +02:00
divesiteimportmodel.h core: replace divesite_table_t by a vector of std::unique_ptr<>s 2024-08-13 19:28:30 +02:00
divesummarymodel.cpp Ignore invalid dives in subsurface-mobile dive summary 2021-10-11 20:20:20 +03:00
divesummarymodel.h
divetripmodel.cpp core: convert divesite strings to std::string 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 filter: add filter constraint model 2020-09-29 16:13:03 -07:00
filterconstraintmodel.h filter: add filter constraint model 2020-09-29 16:13:03 -07:00
filtermodels.cpp selection: rename selectionChanged() to divesSelected() 2023-04-16 20:23:59 +02:00
filtermodels.h selection: move current dc logic to profile widget 2023-04-16 20:23:59 +02:00
filterpresetmodel.cpp core: port filterpreset.cpp to std::string 2024-03-10 11:01:42 +13:00
filterpresetmodel.h filter: connect DiveListNotifier signals to filter preset model 2020-09-29 16:13:03 -07:00
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 core: replace SSRF_INFO macro by report_info() 2024-03-12 10:31:07 -04:00
messagehandlermodel.h
mobilelistmodel.cpp core: replace dive master by dive guide 2022-02-15 09:35:43 -08:00
mobilelistmodel.h core: replace dive master by dive guide 2022-02-15 09:35:43 -08:00
models.cpp desktop: unglobalize ComboBox-models 2024-04-16 08:56:49 +12:00
models.h desktop: unglobalize ComboBox-models 2024-04-16 08:56:49 +12:00
tankinfomodel.cpp core: use C++ structures for tanksystem info 2024-08-13 19:28:30 +02:00
tankinfomodel.h desktop: unglobalize ComboBox-models 2024-04-16 08:56:49 +12:00
treemodel.cpp
treemodel.h
weightmodel.cpp desktop: unglobalize ComboBox-models 2024-04-16 08:56:49 +12:00
weightmodel.h cleanup: replace to "dive.h" includes by more specific includes 2020-05-15 14:19:21 -07:00
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