subsurface/qt-models
Berthold Stoeger 408b31b6ce core: default initialize units-type objects to 0
Makes the code much nicer to read.

Default initialize cylinder_t to the empty cylinder.

This produces lots of warnings, because most structure are now
not PODs anymore and shouldn't be erased using memset().

These memset()s will be removed one-by-one and replaced by
proper constructors.

The whole ordeal made it necessary to add a constructor to
struct event. To simplify things the whole optimization of
the variable-size event names was removed. In upcoming commits
this will be replaced by std::string anyway.

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: use C++-primitives for g_tag_list 2024-04-23 07:47:11 +07:00
completionmodels.h
cylindermodel.cpp core: default initialize units-type objects to 0 2024-08-13 19:28:30 +02:00
cylindermodel.h
divecomputerextradatamodel.cpp cleanup: split out divecomputer functions from dive.c 2020-10-25 13:59:52 -07:00
divecomputerextradatamodel.h
diveimportedmodel.cpp
diveimportedmodel.h
divelocationmodel.cpp core: convert divesite strings to std::string 2024-08-13 19:28:30 +02:00
divelocationmodel.h
divepicturemodel.cpp cleanup: more Coverity silencing 2024-01-17 14:23:19 -08:00
divepicturemodel.h
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: convert divesite strings to std::string 2024-08-13 19:28:30 +02:00
divesiteimportmodel.h
divesummarymodel.cpp
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
filterconstraintmodel.h
filtermodels.cpp
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
maplocationmodel.cpp core: convert divesite strings to std::string 2024-08-13 19:28:30 +02:00
maplocationmodel.h Cleanup: lower-case filenames in core/subsurface-qt/ 2020-02-04 02:16:46 +01: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
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
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