subsurface/qt-models
Berthold Stoeger d1b8f1ca3d formatting: move get_trip_title to string-format.h and split it
To enable grouping by trip in the statistics module, split
the get_trip_title() function in a version that appends
a "(n dive(s)" string an one that doesn't. The statistics
module doesn't want that added string, since it displays
the number of dives in a different way.

Also, move the functions to string-format.h, where these
are collected. And rename them to camelCase. Yes, it's
ugly, but consistent with most other C++ code in the code
base.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2021-12-17 10:36:13 -08:00
..
cleanertablemodel.cpp
cleanertablemodel.h
CMakeLists.txt mobile: remove GpsListModel 2021-09-13 11:21:34 -07:00
completionmodels.cpp
completionmodels.h
cylindermodel.cpp cylinders: add cylinder before hidden cylinders 2021-12-13 11:54:24 -08:00
cylindermodel.h cylinders: only hide cylinders at the end of the list 2021-12-13 11:54:24 -08:00
divecomputerextradatamodel.cpp
divecomputerextradatamodel.h
diveimportedmodel.cpp
diveimportedmodel.h
divelocationmodel.cpp
divelocationmodel.h
divepicturemodel.cpp profile: display arbitrary dive 2021-04-02 13:53:23 -07:00
divepicturemodel.h
diveplannermodel.cpp cylinders: only hide cylinders at the end of the list 2021-12-13 11:54:24 -08:00
diveplannermodel.h planner: split DivePlannerPointsModel::remove() in two 2021-04-02 13:53:23 -07:00
diveplotdatamodel.cpp profile: remove DiveAmbPressureItem 2021-05-08 13:40:24 +02:00
diveplotdatamodel.h profile: remove DiveAmbPressureItem 2021-05-08 13:40:24 +02:00
divesiteimportmodel.cpp
divesiteimportmodel.h
divesummarymodel.cpp Ignore invalid dives in subsurface-mobile dive summary 2021-10-11 20:20:20 +03:00
divesummarymodel.h
divetripmodel.cpp formatting: move get_trip_title to string-format.h and split it 2021-12-17 10:36:13 -08:00
divetripmodel.h
filterconstraintmodel.cpp
filterconstraintmodel.h
filtermodels.cpp
filtermodels.h
filterpresetmodel.cpp
filterpresetmodel.h
maplocationmodel.cpp
maplocationmodel.h
messagehandlermodel.cpp cleanup: replace QRegExp with QRegularExpression 2021-10-27 12:36:49 -07:00
messagehandlermodel.h
mobilelistmodel.cpp filter: internalize shown_dives in DiveFilter class 2020-12-29 08:34:09 -08:00
mobilelistmodel.h core: create string-format.cpp source file 2020-12-17 13:03:56 -08:00
models.cpp profile: pass dive to DiveHandler 2021-01-10 15:57:39 -08:00
models.h
tankinfomodel.cpp
tankinfomodel.h
treemodel.cpp
treemodel.h
weightmodel.cpp
weightmodel.h
weightsysteminfomodel.cpp
weightsysteminfomodel.h
yearlystatisticsmodel.cpp
yearlystatisticsmodel.h