mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
printing: remove DiveObjectHelper from printing code
At this point (post grantlee), DiveObjectHelper is just pointless glue code. Let's remove it from the printing code and call the formatting functions directly. If necessary, move these functions to core/string-format.cpp. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
d9942269a9
commit
ae182c386b
5 changed files with 143 additions and 110 deletions
|
@ -14,7 +14,15 @@ QStringList formatGetCylinder(const dive *d);
|
|||
QStringList formatStartPressure(const dive *d);
|
||||
QStringList formatEndPressure(const dive *d);
|
||||
QStringList formatFirstGas(const dive *d);
|
||||
QString formatGas(const dive *d);
|
||||
QStringList formatFullCylinderList();
|
||||
QStringList formatCylinders(const dive *d);
|
||||
QString formatSumWeight(const dive *d);
|
||||
QString formatWeightList(const dive *d);
|
||||
QStringList formatWeights(const dive *d);
|
||||
QString formatDiveDuration(const dive *d);
|
||||
QString formatDiveGPS(const dive *d);
|
||||
QString formatDiveDate(const dive *d);
|
||||
QString formatDiveTime(const dive *d);
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue